aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/tree-checker.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-03-13 15:58:06 -0400
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:22 +0200
commite6549c2aabb9875cf7827bb2283905aaab5b0523 (patch)
treedf527e90080a8f93f07946fbc52300911f753ee4 /fs/btrfs/tree-checker.c
parentbtrfs: improve global reserve stealing logic (diff)
downloadwireguard-linux-e6549c2aabb9875cf7827bb2283905aaab5b0523.tar.xz
wireguard-linux-e6549c2aabb9875cf7827bb2283905aaab5b0523.zip
btrfs: allow to use up to 90% of the global block rsv for unlink
We previously had a limit of stealing 50% of the global reserve for unlink. This was from a time when the global reserve was used for the delayed refs as well. However now those reservations are kept separate, so the global reserve can be depleted much more to allow us to make progress for space restoring operations like unlink. Change the minimum amount of space required to be left in the global reserve to 10%. Reviewed-by: Nikolay Borisov <nborisov@suse.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/tree-checker.c')
0 files changed, 0 insertions, 0 deletions