]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: export max_open_zones in sysfs xfs-zoned-allocator-2025-03-03
authorChristoph Hellwig <hch@lst.de>
Tue, 21 Jan 2025 05:45:22 +0000 (06:45 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:10 +0000 (08:17 -0700)
commit9c477912b2f58da71751f244aceecf5f8cc549ed
tree6a2ed104fc86a90bb787ff0dbee020461e59ec14
parent243f40d0c776bbe01fd4cce7ea6d628b38294e24
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>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/xfs_mount.h
fs/xfs/xfs_sysfs.c