summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delalloc-space.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-07-21 16:22:19 +0200
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:06:51 +0200
commit99ffb43e5d4a0710fb094f3efbdf47f85f3b87c9 (patch)
tree98bf6dc8bfa1a55cdd4d617afd014fe4547d44bc /fs/btrfs/delalloc-space.c
parentbtrfs: call btrfs_try_granting_tickets when unpinning anything (diff)
downloadlinux-99ffb43e5d4a0710fb094f3efbdf47f85f3b87c9.tar.xz
linux-99ffb43e5d4a0710fb094f3efbdf47f85f3b87c9.zip
btrfs: call btrfs_try_granting_tickets when reserving space
If we have compression on we could free up more space than we reserved, and thus be able to make a space reservation. Add the call for this scenario. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Tested-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delalloc-space.c')
0 files changed, 0 insertions, 0 deletions