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

From: Kemeng Shi
Date: Tue Mar 26 2024 - 09:45:55 EST


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 in mb_mark_used to clear bits
ext4: use correct criteria name instead stale integer number in
comment
ext4: expand next_linear_group to remove repeat check for linear scan.

fs/ext4/ext4.h | 15 +++++--
fs/ext4/mballoc-test.c | 56 ++++++++++++++++++++++++++
fs/ext4/mballoc.c | 89 +++++++++++++++++-------------------------
fs/ext4/mballoc.h | 4 +-
4 files changed, 105 insertions(+), 59 deletions(-)

--
2.30.0