Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Btrfs: don't try to allocate from a block group that doesn't have eno…
…ugh space If we have a very large filesystem, we can spend a lot of time in find_free_extent just trying to allocate from empty block groups. So instead check to see if the block group even has enough space for the allocation, and if not go on to the next block group. Signed-off-by: Josef Bacik <josef@redhat.com>
- Loading branch information