xfs: cross-reference with the bnobt

When we're scrubbing various btrees, cross-reference the records with
the bnobt to ensure that we don't also think the space is free.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
Darrick J. Wong
2018-01-16 18:53:06 -08:00
parent 166d76410d
commit 52dc4b44af
9 changed files with 176 additions and 0 deletions

View File

@@ -69,6 +69,8 @@ xfs_scrub_iallocbt_chunk_xref(
{
if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)
return;
xfs_scrub_xref_is_used_space(sc, agbno, len);
}
/* Is this chunk worth checking? */