summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delalloc-space.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-07-21 16:22:18 +0200
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:06:51 +0200
commit2732798c9bb647978043e4daf54a6f9f3025d4c5 (patch)
tree7992543f9c774d2c9aef80734664c459c497b4ae /fs/btrfs/delalloc-space.c
parentbtrfs: call btrfs_try_granting_tickets when freeing reserved bytes (diff)
downloadlinux-2732798c9bb647978043e4daf54a6f9f3025d4c5.tar.xz
linux-2732798c9bb647978043e4daf54a6f9f3025d4c5.zip
btrfs: call btrfs_try_granting_tickets when unpinning anything
When unpinning we were only calling btrfs_try_granting_tickets() if global_rsv->space_info == space_info, which is problematic because we use ticketing for SYSTEM chunks, and want to use it for DATA as well. Fix this by moving this call outside of that if statement. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Tested-by: Nikolay Borisov <nborisov@suse.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