[PATCH 03/17] man: document new XFS_BULK_IREQ_METADIR flag to bulkstat

Darrick J. Wong
2025-02-06T22:31:26Z

Document this new flag.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
man/man2/ioctl_xfs_bulkstat.2 | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/man/man2/ioctl_xfs_bulkstat.2 b/man/man2/ioctl_xfs_bulkstat.2
index b6d51aa438111d..0dba16a6b0e2df 100644
--- a/man/man2/ioctl_xfs_bulkstat.2
+++ b/man/man2/ioctl_xfs_bulkstat.2
@@ -101,6 +101,14 @@ .SH DESCRIPTION
via bs_extents field and bs_extents64 is assigned a value of 0. In the second
case, bs_extents is set to (2^31 - 1) if data fork extent count is larger than
2^31. This flag may be set independently of whether other flags have been set.
+.TP
+.B XFS_BULK_IREQ_METADIR
+Return metadata directory tree inodes in the stat output as well.
+The only fields that will be populated are
+.IR bs_ino ", " bs_gen ", " bs_mode ", " bs_sick ", and " bs_checked.
+All other fields, notably
+.IR bs_blksize ,
+will be zero.
.RE
.PP
.I hdr.icount