From e30746bad663a30dc17d5070a2faffec58c0d100 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 19 Dec 2024 19:49:39 -0800 Subject: [PATCH] man: document XFS_FSOP_GEOM_FLAGS_ZONED Document the new zoned feature flag and the two new fields added with it. Signed-off-by: Christoph Hellwig --- man/man2/ioctl_xfs_fsgeometry.2 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/man/man2/ioctl_xfs_fsgeometry.2 b/man/man2/ioctl_xfs_fsgeometry.2 index 502054f39..df7234e60 100644 --- a/man/man2/ioctl_xfs_fsgeometry.2 +++ b/man/man2/ioctl_xfs_fsgeometry.2 @@ -50,7 +50,9 @@ struct xfs_fsop_geom { __u32 sick; __u32 checked; __u64 rgextents; - __u64 reserved[16]; + __u64 rtstart; + __u64 rtreserved; + __u64 reserved[14]; }; .fi .in @@ -143,6 +145,20 @@ for more details. .I rgextents Is the number of RT extents in each rtgroup. .PP +.I rtstart +Start of the internal RT device in fsblocks. 0 if an external log device +is used. +This field is meaningful only if the flag +.B XFS_FSOP_GEOM_FLAGS_ZONED +is set. +.PP +.I rtreserved +The amount of space in the realtime section that is reserved for internal use +by garbage collection and reorganization algorithms in fsblocks. +This field is meaningful only if the flag +.B XFS_FSOP_GEOM_FLAGS_ZONED +is set. +.PP .I reserved is set to zero. .SH FILESYSTEM FEATURE FLAGS @@ -221,6 +237,9 @@ Filesystem can exchange file contents atomically via XFS_IOC_EXCHANGE_RANGE. .TP .B XFS_FSOP_GEOM_FLAGS_METADIR Filesystem contains a metadata directory tree. +.TP +.B XFS_FSOP_GEOM_FLAGS_ZONED +Filesystem uses the zoned allocator for the RT device. .RE .SH XFS METADATA HEALTH REPORTING .PP -- 2.50.1