commit | 28bad2125767c51a2974c234470981b39d3623ab | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Mon Dec 03 10:20:38 2018 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:47 2018 +0100 |
tree | 9a4efca6dcae04b146ad53b93edd37e59321ec08 | |
parent | db2462a6ad3dc490ac33250042e728226ef3ba00 [diff] |
btrfs: fix truncate throttling We have a bunch of magic to make sure we're throttling delayed refs when truncating a file. Now that we have a delayed refs rsv and a mechanism for refilling that reserve simply use that instead of all of this magic. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>