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

From: Kemeng Shi
Date: Wed Apr 24 2024 - 02:19:19 EST


v2->v3:
-Coleect RVB from Jan
-Remove more unneeded "cr =" in comment

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 | 86 ++++++++++++++++++++++--------------------
fs/ext4/mballoc.h | 4 +-
4 files changed, 106 insertions(+), 45 deletions(-)

--
2.30.0