summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.h
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2023-04-14 00:11:31 +0300
committerDave Chinner <dchinner@redhat.com>2023-04-14 00:11:31 +0300
commitb89116c2fb3f6627e6b6ef1ccc96919603aa0315 (patch)
treebcd9c28b10f16aa35c3b0982c4ed2c673b997ccf /fs/xfs/scrub/repair.h
parent43223ef72ebbe0f5dbedadaf01292526826a974b (diff)
parent4f5e304248ab4939e9aef58244041c194f01f0b5 (diff)
downloadlinux-b89116c2fb3f6627e6b6ef1ccc96919603aa0315.tar.xz
Merge tag 'scrub-strengthen-rmap-checking-6.4_2023-04-11' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into guilt/xfs-for-next
xfs: strengthen rmapbt scrubbing [v24.5] This series strengthens space allocation record cross referencing by using AG block bitmaps to compute the difference between space used according to the rmap records and the primary metadata, and reports cross-referencing errors for any discrepancies. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/scrub/repair.h')
-rw-r--r--fs/xfs/scrub/repair.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h
index 4fbb52228c48..dce791c679ee 100644
--- a/fs/xfs/scrub/repair.h
+++ b/fs/xfs/scrub/repair.h
@@ -31,6 +31,7 @@ int xrep_init_btblock(struct xfs_scrub *sc, xfs_fsblock_t fsb,
const struct xfs_buf_ops *ops);
struct xbitmap;
+struct xagb_bitmap;
int xrep_fix_freelist(struct xfs_scrub *sc, bool can_shrink);
int xrep_invalidate_blocks(struct xfs_scrub *sc, struct xbitmap *btlist);