]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: scrub the metadir path of rt rmap btree files
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:57:35 +0000 (11:57 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 16 Aug 2024 21:57:40 +0000 (14:57 -0700)
Add a new XFS_SCRUB_METAPATH subtype so that we can scrub the metadata
directory tree path to the rmap btree file for each rt group.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_fs.h

index b798ab5f8e88865640cc69cae4056bb776c7e27e..a89f4261a9838bacd361772654fb87b0ccff1413 100644 (file)
@@ -826,9 +826,10 @@ struct xfs_scrub_vec_head {
 #define XFS_SCRUB_METAPATH_RTDIR       (1)  /* rtrgroups metadir */
 #define XFS_SCRUB_METAPATH_RTBITMAP    (2)  /* per-rtg bitmap */
 #define XFS_SCRUB_METAPATH_RTSUMMARY   (3)  /* per-rtg summary */
+#define XFS_SCRUB_METAPATH_RTRMAPBT    (4)  /* realtime reverse mapping */
 
 /* Number of metapath sm_ino values */
-#define XFS_SCRUB_METAPATH_NR          (4)
+#define XFS_SCRUB_METAPATH_NR          (5)
 
 /*
  * ioctl limits