diff mbox series

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

Message ID 173888088157.2741033.18009447992987469682.stgit@frogsfrogsfrogs (mailing list archive)
State Not Applicable, archived
Headers show
Series [01/27] libxfs: compute the rt rmap btree maxlevels during initialization | expand

Commit Message

Darrick J. Wong Feb. 6, 2025, 10:50 p.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

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(-)

Comments

Christoph Hellwig Feb. 7, 2025, 5:08 a.m. UTC | #1
On Thu, Feb 06, 2025 at 02:50:46PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
> 
> Update documentation to describe userspace ABI changes made for realtime
> rmap support.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

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