summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-10-01 17:46:19 +0300
committerDavid Sterba <dsterba@suse.com>2018-10-25 16:11:40 +0200
commitbe32eb0557f3d797c0ad073e18df633c73a10755 (patch)
tree5d51d2dd250cf373cdebe99f0074c61f430a69b3 /tests
parentf46b08f3ab69a5f8740fd1ddf495c2e0dd8d2ba4 (diff)
btrfs-progs: check: Add support for freespace tree fixing
Now that all the prerequisite code for proper support of free space tree repair is in, it's time to wire it in. This is achieved by first hooking the freespace tree to the __free_extent/alloc_reserved_tree_block functions. And then introducing a wrapper function to contains the existing check_space_cache and the newly introduced repair code. Finally, it's important to note that FST repair code first clears the existing FST in case of any problem found and rebuilds it from scratch. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions