diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-29 22:18:09 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-30 08:03:14 -0700 |
commit | 64a39d876e77264dbd06ec27564d9e4eed1c6786 (patch) | |
tree | 0120120ceb502bd8d6dd4ee6554f8cba76bc873c /fs/open.c | |
parent | 73d6b42aa4dcdd7cdc07a945f035b0c1ca48f891 (diff) | |
download | linux-64a39d876e77264dbd06ec27564d9e4eed1c6786.tar.bz2 |
xfs: add helpers to collect and sift btree block pointers during repair
Add some helpers to assemble a list of fs block extents. Generally,
repair functions will iterate the rmapbt to make a list (1) of all
extents owned by the nominal owner of the metadata structure; then they
will iterate all other structures with the same rmap owner to make a
list (2) of active blocks; and finally we have a subtraction function to
subtract all the blocks in (2) from (1), with the result that (1) is now
a list of blocks that were owned by the old btree and must be disposed.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions