]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: scrub the metadir path of rt refcount btree files
authorDarrick J. Wong <djwong@kernel.org>
Mon, 12 Aug 2024 08:17:57 +0000 (10:17 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 11:53:51 +0000 (13:53 +0200)
Source kernel commit: 08745bdf226a413246fc4edb2947985804dbcb86

Add a new XFS_SCRUB_METAPATH subtype so that we can scrub the metadata
directory tree path to the refcount btree file for each rt group.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_fs.h

index 53e2416befc9bc39b8cfd739a9bc2c5c8d7e3272..94c0d50467e35418c7944a52497bb4d8127e3fe7 100644 (file)
@@ -828,9 +828,10 @@ struct xfs_scrub_vec_head {
 #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 */
+#define XFS_SCRUB_METAPATH_RTREFCOUNTBT        (5)  /* realtime refcount */
 
 /* Number of metapath sm_ino values */
-#define XFS_SCRUB_METAPATH_NR          (5)
+#define XFS_SCRUB_METAPATH_NR          (6)
 
 /*
  * ioctl limits