xfs: cross-reference rmap records with free space 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)
commit3a3108ea8c1d4f33ca49fa9fc80e6a6e450654cf
tree717f4ca2e7ef26b5d2b93299970525837b271e16
parentfed050f3452da070fa90fc1b02c2bc2219d687a7
xfs: cross-reference rmap records with free space btrees

Strengthen the rmap btree record checker a little more by comparing
OWN_AG reverse mappings against the free space btrees, the rmap btree,
and the AGFL.

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