From: Darrick J. Wong Date: Thu, 15 Aug 2024 18:58:28 +0000 (-0700) Subject: xfs: scrub the metadir path of rt refcount btree files X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c8ed69033a3f3a53f0814c20e12fc7b4072a83dd;p=users%2Fhch%2Fxfsprogs.git xfs: scrub the metadir path of rt refcount btree files 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 Signed-off-by: Christoph Hellwig --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 836fbb65e..614d36319 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -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