From: Darrick J. Wong Date: Mon, 24 Feb 2025 18:21:50 +0000 (-0800) Subject: xfs: scrub the realtime rmapbt X-Git-Tag: v6.14.0~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48f6f14b07212936ee9fe59131968a6cab69776b;p=thirdparty%2Fxfsprogs-dev.git xfs: scrub the realtime rmapbt Source kernel commit: 9a6cc4f6d081fddc0d5ff96744a2507d3559f949 Check the realtime reverse mapping btree against the rtbitmap, and modify the rtbitmap scrub to check against the rtrmapbt. Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 7cca458f..34fcbcd0 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -737,9 +737,10 @@ struct xfs_scrub_metadata { #define XFS_SCRUB_TYPE_DIRTREE 28 /* directory tree structure */ #define XFS_SCRUB_TYPE_METAPATH 29 /* metadata directory tree paths */ #define XFS_SCRUB_TYPE_RGSUPER 30 /* realtime superblock */ +#define XFS_SCRUB_TYPE_RTRMAPBT 31 /* rtgroup reverse mapping btree */ /* Number of scrub subcommands. */ -#define XFS_SCRUB_TYPE_NR 31 +#define XFS_SCRUB_TYPE_NR 32 /* * This special type code only applies to the vectored scrub implementation.