]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: expose the number of open zones in sysfs
authorChristoph Hellwig <hch@lst.de>
Tue, 31 Mar 2026 15:27:30 +0000 (17:27 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 7 Apr 2026 11:28:47 +0000 (13:28 +0200)
commit62c89988dc198efc17be0119a43ad21cf32334d6
tree9ca3cbf5f34bd7e6a855c44958b60fc2f90ae87f
parent1d0d9e9459c053fc1700739e267271adccdcaadc
xfs: expose the number of open zones in sysfs

Add a sysfs attribute for the current number of open zones so that it
can be trivially read from userspace in monitoring or testing software.

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