[PATCH 04/27] man: document userspace API changes due to rt rmap

Darrick J. Wong
2025-02-06T22:50:47Z

Update documentation to describe userspace ABI changes made for realtime
rmap support.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
man/man2/ioctl_xfs_rtgroup_geometry.2 | 3 +++
man/man2/ioctl_xfs_scrub_metadata.2 | 12 ++++++++----
2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/man/man2/ioctl_xfs_rtgroup_geometry.2 b/man/man2/ioctl_xfs_rtgroup_geometry.2
index c4b0de94453558..37e229b4335459 100644
--- a/man/man2/ioctl_xfs_rtgroup_geometry.2
+++ b/man/man2/ioctl_xfs_rtgroup_geometry.2
@@ -73,6 +73,9 @@ .SH DESCRIPTION
.TP
.B XFS_RTGROUP_GEOM_SICK_SUMMARY
Realtime summary for this group.
+.TP
+.B XFS_RTGROUP_GEOM_SICK_RTRMAPBT
+Reverse mapping btree for this group.
.RE
.SH RETURN VALUE
On error, \-1 is returned, and
diff --git a/man/man2/ioctl_xfs_scrub_metadata.2 b/man/man2/ioctl_xfs_scrub_metadata.2
index 545e3fcbac320e..f06bb98de708a4 100644
--- a/man/man2/ioctl_xfs_scrub_metadata.2
+++ b/man/man2/ioctl_xfs_scrub_metadata.2
@@ -180,11 +180,12 @@ .SH DESCRIPTION
.PP
.nf
.B XFS_SCRUB_TYPE_RTBITMAP
-.fi
-.TP
.B XFS_SCRUB_TYPE_RTSUM
-Examine the realtime block bitmap and realtime summary inodes for
-corruption.
+.fi
+.TP
+.B XFS_SCRUB_TYPE_RTRMAPBT
+Examine a given realtime allocation group's free space bitmap, summary file,
+or reverse mapping btree, respectively.

.PP
.nf
@@ -246,6 +247,9 @@ .SH DESCRIPTION
.TP
.B XFS_SCRUB_METAPATH_PRJQUOTA
Project quota file.
+.TP
+.B XFS_SCRUB_METAPATH_RTRMAPBT
+Realtime rmap btree file.
.RE

The values of