mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 23:22:27 +00:00
06b6ad5e01
While testing some changes to how we reclaim block groups I started hitting failures with my TEST_DEV. This occurred because I had a bug and failed to properly remove a block groups free space tree entries. However this wasn't caught in testing when it happened because btrfs check only checks that the free space cache for the existing block groups is valid, it doesn't check for free space entries that don't have a corresponding block group. Fix this by checking for free space entries that don't have a corresponding block group. Additionally add a test image to validate this fix. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
corrupt-free-space-tree.img.xz |