xfs: check the reference counts of gaps in the refcount btree
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:12 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:12 +0000 (19:00 -0700)
commit7ad9ea6398feae3ae4ce79fe08457f93b79a9a43
treeb1e1d628ef08af3d35ba47d5ed09efaa66acdae7
parent4a200a0978288f919aba3f015f374f6ed279e658
xfs: check the reference counts of gaps in the refcount btree

Gaps in the reference count btree are also significant -- for these
regions, there must not be any overlapping reverse mappings.  We don't
currently check this, so make the refcount scrubber more complete.

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