在 2026/4/22 9:50, Baolin Liu 写道:
> The series contains two patches:
> - add blocks_allocated to /proc/fs/ext4/<dev>/mb_stats
> - allow writing 0 to /proc/fs/ext4/<dev>/mb_stats to clear the current
> mballoc statistics
>
> Changes since v2:
> - Add mb_stats documentation to patch 2
> - Add Reviewed-by tags
>
> Baolin Liu (2):
> ext4: add blocks_allocated to mb_stats output
> ext4: allow clearing mballoc stats through mb_stats
>
> Documentation/admin-guide/ext4.rst | 5 ++++
> Documentation/filesystems/proc.rst | 3 +++
> fs/ext4/ext4.h | 1 +
> fs/ext4/mballoc.c | 31 +++++++++++++++++++++++
> fs/ext4/sysfs.c | 40 ++++++++++++++++++++++++++++--
> 5 files changed, 78 insertions(+), 2 deletions(-)
>
Dear All,
This commit adds the description of the ext4 proc parameter mb_stats
to the corresponding documentation.
I noticed that the documentation also lacks descriptions for the
es_shrinker_info, fc_info, mb_structs_summary, and options parameters.
However, these parameters are irrelevant to the work done in this
series of patches.
I will commit a separate patch later to explain the other parameters.
This time, I only explain mb_stats.
Thanks,
Baolin