Hi all, 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. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=scrub-strengthen-rmap-checking --- fs/xfs/Makefile | 2 fs/xfs/scrub/bitmap.c | 55 +++++++++ fs/xfs/scrub/bitmap.h | 70 ++++++++++++ fs/xfs/scrub/repair.h | 1 fs/xfs/scrub/rmap.c | 284 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 410 insertions(+), 2 deletions(-)