xfs: cross-reference reverse-mapping btree
When scrubbing various btrees, we should cross-reference the records with the reverse mapping btree and ensure that traversing the btree finds the same number of blocks that the rmapbt thinks are owned by that btree. Signed-off-by:Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by:
Dave Chinner <dchinner@redhat.com>
Showing
- fs/xfs/scrub/agheader.c 66 additions, 2 deletionsfs/xfs/scrub/agheader.c
- fs/xfs/scrub/alloc.c 1 addition, 0 deletionsfs/xfs/scrub/alloc.c
- fs/xfs/scrub/bmap.c 134 additions, 0 deletionsfs/xfs/scrub/bmap.c
- fs/xfs/scrub/btree.c 4 additions, 0 deletionsfs/xfs/scrub/btree.c
- fs/xfs/scrub/common.c 53 additions, 0 deletionsfs/xfs/scrub/common.c
- fs/xfs/scrub/common.h 4 additions, 0 deletionsfs/xfs/scrub/common.h
- fs/xfs/scrub/ialloc.c 101 additions, 2 deletionsfs/xfs/scrub/ialloc.c
- fs/xfs/scrub/inode.c 4 additions, 0 deletionsfs/xfs/scrub/inode.c
- fs/xfs/scrub/rmap.c 65 additions, 0 deletionsfs/xfs/scrub/rmap.c
- fs/xfs/scrub/scrub.h 8 additions, 0 deletionsfs/xfs/scrub/scrub.h
Loading