Re: [PATCH v1] ext4: add mb_stats_clear for mballoc statistics
From: liubaolin
Date: Thu Apr 16 2026 - 03:17:19 EST
Dear Ritesh,
Thank you for your review. I will revise the patch according to Andreas's comments and submit a second version. When the second version is submitted, you are welcome to review it. Once the patch is finalized, the maintainer will add the Reviewed-by tag.
Regards,
Baolin
在 2026/4/16 9:44, Ritesh Harjani (IBM) 写道:
Baolin Liu <liubaolin12138@xxxxxxx> writes:
From: Baolin Liu <liubaolin@xxxxxxxxxx>
Add a write-only mb_stats_clear sysfs knob to reset ext4 mballoc
runtime statistics.This makes it easier to inspect allocator
activity for a specific workload instead of using counters
accumulated since mount.
Signed-off-by: Baolin Liu <liubaolin@xxxxxxxxxx>
Make sense to me. The changes looks good and works fine at my end.
So please feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx>