From: Darrick J. Wong <djwong@xxxxxxxxxx> Add a new entry so that we can scrub the rtrmapbt. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- libfrog/scrub.c | 5 +++++ scrub/repair.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libfrog/scrub.c b/libfrog/scrub.c index 8822fc0088c..290ba0fb8bf 100644 --- a/libfrog/scrub.c +++ b/libfrog/scrub.c @@ -169,6 +169,11 @@ const struct xfrog_scrub_descr xfrog_scrubbers[XFS_SCRUB_TYPE_NR] = { .descr = "realtime group bitmap", .group = XFROG_SCRUB_GROUP_RTGROUP, }, + [XFS_SCRUB_TYPE_RTRMAPBT] = { + .name = "rtrmapbt", + .descr = "realtime reverse mapping btree", + .group = XFROG_SCRUB_GROUP_RTGROUP, + }, }; const struct xfrog_scrub_descr xfrog_metapaths[XFS_SCRUB_METAPATH_NR] = { diff --git a/scrub/repair.c b/scrub/repair.c index 43037a7c5e1..fee03f97701 100644 --- a/scrub/repair.c +++ b/scrub/repair.c @@ -532,6 +532,7 @@ repair_item_difficulty( switch (scrub_type) { case XFS_SCRUB_TYPE_RMAPBT: + case XFS_SCRUB_TYPE_RTRMAPBT: ret |= REPAIR_DIFFICULTY_SECONDARY; break; case XFS_SCRUB_TYPE_SB: