diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-07-21 10:22:20 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:06:52 +0200 |
commit | 39753e4a3a43c7d14a17f626f32d4a53ee59d563 (patch) | |
tree | f17237a4f0d3f19f3235af09b3ab9e3edb278470 /scripts/tracing/draw_functrace.py | |
parent | 99ffb43e5d4a0710fb094f3efbdf47f85f3b87c9 (diff) |
btrfs: use the btrfs_space_info_free_bytes_may_use helper for delalloc
We are going to use the ticket infrastructure for data, so use the
btrfs_space_info_free_bytes_may_use() helper in
btrfs_free_reserved_data_space_noquota() so we get the
btrfs_try_granting_tickets call when we free our reservation.
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 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions