[PATCH v2 0/5] Minor improvements and cleanups to ext4 mballoc

From: Kemeng Shi
Date: Tue Apr 23 2024 - 08:41:30 EST


v1->v2:
-Collect RVB from Jan and Ojaswin
-Rewrite changelog of "ext4: call ext4_mb_mark_free_simple to free
continuous bits in found chunk"
-Remove "cr =" in comment of criteria name as criteria name has CR_
prfefix now.
-Only open codeing repeated checks in next_linear_group

This series contains some minor improvements and cleanups to ext4
mballoc. No failure is found in "kvm-xfstests smoke" test and unit
test. More details can be found in respective patches. Thanks!

Kemeng Shi (5):
ext4: keep "prefetch_grp" and "nr" consistent
ext4: add test_mb_mark_used_cost to estimate cost of mb_mark_used
ext4: call ext4_mb_mark_free_simple to free continuous bits in found
chunk
ext4: use correct criteria name instead stale integer number in
comment
ext4: open coding repeated check in next_linear_group

fs/ext4/ext4.h | 9 +++--
fs/ext4/mballoc-test.c | 52 ++++++++++++++++++++++++++
fs/ext4/mballoc.c | 84 ++++++++++++++++++++++--------------------
fs/ext4/mballoc.h | 4 +-
4 files changed, 105 insertions(+), 44 deletions(-)

--
2.30.0