]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: display more zone related information in mountstats
authorDamien Le Moal <dlemoal@kernel.org>
Mon, 16 Mar 2026 11:40:19 +0000 (20:40 +0900)
committerCarlos Maiolino <cem@kernel.org>
Wed, 18 Mar 2026 09:08:07 +0000 (10:08 +0100)
commit68aa101bf2046aa8365333a3768cece07975ca5f
tree08d675770714346e7106e38f57a5de4299d3b200
parent6a82a691b08070ad03b237d7db89aa0bfef389e2
xfs: display more zone related information in mountstats

Modify xfs_zoned_show_stats() to add to the information displayed with
/proc/self/mountstats the total number of zones (RT groups) and the
number of open zones together with the maximum number of open zones.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_info.c