xfs: cross-reference rmap records with ag btrees
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:38 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:38 +0000 (19:00 -0700)
commitfed050f3452da070fa90fc1b02c2bc2219d687a7
tree6002bc16c07ec4b6055d04d21ba2bed8d6245411
parenta47bd1e0e690d0296c3e48fc3d6f2d359c222d6c
xfs: cross-reference rmap records with ag btrees

Strengthen the rmap btree record checker a little more by comparing
OWN_FS and OWN_LOG reverse mappings against the AG headers and internal
logs, respectively.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/Makefile
fs/xfs/scrub/bitmap.c
fs/xfs/scrub/bitmap.h
fs/xfs/scrub/rmap.c