]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: cross-reference the rmapbt data with the refcountbt
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 17 Jan 2018 02:53:08 +0000 (18:53 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 18 Jan 2018 05:00:45 +0000 (21:00 -0800)
commit1171c2cc48769b22498632df70fc6cf2fdc53b56
tree83821dc87af52aefd999b3f2dee63421ad9be41d
parentba5bb1cf4a0a2a943324ad2f656886342dbb4cf9
xfs: cross-reference the rmapbt data with the refcountbt

Cross reference the refcount data with the rmap data to check that the
number of rmaps for a given block match the refcount of that block, and
that CoW blocks (which are owned entirely by the refcountbt) are tracked
as well.

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