diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-29 22:18:10 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-30 08:03:14 -0700 |
commit | 12c6510e2ff17cf94cae08ba7b6d2355760dfd1d (patch) | |
tree | 1d76ee415983bf1ede5b078c1a2ecd529560fd86 /fs/xfs/xfs_filestream.c | |
parent | 64a39d876e77264dbd06ec27564d9e4eed1c6786 (diff) | |
download | blackbird-op-linux-12c6510e2ff17cf94cae08ba7b6d2355760dfd1d.tar.gz blackbird-op-linux-12c6510e2ff17cf94cae08ba7b6d2355760dfd1d.zip |
xfs: add helpers to dispose of old btree blocks after a repair
Now that we've plumbed in the ability to construct a list of dead btree
blocks following a repair, add more helpers to dispose of them. This is
done by examining the rmapbt -- if the btree was the only owner we can
free the block, otherwise it's crosslinked and we can only remove the
rmapbt record.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_filestream.c')
0 files changed, 0 insertions, 0 deletions