summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-03-31 17:27:30 +0200
committerCarlos Maiolino <cem@kernel.org>2026-04-07 13:28:47 +0200
commit62c89988dc198efc17be0119a43ad21cf32334d6 (patch)
tree9ca3cbf5f34bd7e6a855c44958b60fc2f90ae87f /Documentation/admin-guide
parent1d0d9e9459c053fc1700739e267271adccdcaadc (diff)
downloadlinux-next-62c89988dc198efc17be0119a43ad21cf32334d6.tar.gz
linux-next-62c89988dc198efc17be0119a43ad21cf32334d6.zip
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>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/xfs.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/admin-guide/xfs.rst b/Documentation/admin-guide/xfs.rst
index 746ea60eed3f..acdd4b65964c 100644
--- a/Documentation/admin-guide/xfs.rst
+++ b/Documentation/admin-guide/xfs.rst
@@ -550,6 +550,10 @@ For zoned file systems, the following attributes are exposed in:
is limited by the capabilities of the backing zoned device, file system
size and the max_open_zones mount option.
+ nr_open_zones (Min: 0 Default: Varies Max: UINTMAX)
+ This read-only attribute exposes the current number of open zones
+ used by the file system.
+
zonegc_low_space (Min: 0 Default: 0 Max: 100)
Define a percentage for how much of the unused space that GC should keep
available for writing. A high value will reclaim more of the space