public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 v3 0/2] add blocks_allocated to mb_stats and clear mb_stats
@ 2026-04-22  1:50 Baolin Liu
  2026-04-22  1:50 ` [PATCH v3 v3 1/2] ext4: add blocks_allocated to mb_stats output Baolin Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Baolin Liu @ 2026-04-22  1:50 UTC (permalink / raw)
  To: tytso, adilger.kernel, ojaswin, ritesh.list, yi.zhang
  Cc: linux-ext4, linux-kernel, wangguanyu, liubaolin12138

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(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-04-24 12:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22  1:50 [PATCH v3 v3 0/2] add blocks_allocated to mb_stats and clear mb_stats Baolin Liu
2026-04-22  1:50 ` [PATCH v3 v3 1/2] ext4: add blocks_allocated to mb_stats output Baolin Liu
2026-04-24  2:35   ` Baokun Li
2026-04-22  1:50 ` [PATCH v3 v3 2/2] ext4: allow clearing mballoc stats through mb_stats Baolin Liu
2026-04-23 16:19   ` Theodore Tso
2026-04-24  3:12     ` Baokun Li
2026-04-24  8:09     ` liubaolin
2026-04-24  9:34       ` Baokun Li
2026-04-24 12:07       ` Theodore Tso
2026-04-22  9:55 ` [PATCH v3 v3 0/2] add blocks_allocated to mb_stats and clear mb_stats liubaolin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox