Re: [PATCH v1] ext4: add mb_stats_clear for mballoc statistics

From: IBM

Date: Wed Apr 15 2026 - 21:47:31 EST


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>