]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: export max_open_zones in sysfs xfs-zoned-rebase
authorChristoph Hellwig <hch@lst.de>
Tue, 21 Jan 2025 05:45:22 +0000 (06:45 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 04:49:16 +0000 (05:49 +0100)
commit5cee788f85c03e72a78f0fa3347d499e4db1d621
treeeec69f13b6b35710a01af3ad967c554dc68c29e8
parentf4df43db279c84f1561ebc1bb8118835bff51c06
xfs: export max_open_zones in sysfs

Add a zoned group with an attribute for the maximum number of open zones.
This allows querying the open zones for data placement tests, or also
for placement aware applications that are in control of the entire
file system.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_mount.h
fs/xfs/xfs_sysfs.c