diff options
author | Josef Bacik <josef@toxicpanda.com> | 2018-11-21 20:03:13 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-25 14:13:35 +0100 |
commit | 260e77025ffa8779a7dc4bc21f3890273c93f9d4 (patch) | |
tree | 830325be528cb9efbffaa2ad7fb6b5d536c0e15f /fs/mbcache.c | |
parent | btrfs: be more explicit about allowed flush states (diff) | |
download | linux-260e77025ffa8779a7dc4bc21f3890273c93f9d4.tar.xz linux-260e77025ffa8779a7dc4bc21f3890273c93f9d4.zip |
btrfs: reserve extra space during evict
We could generate a lot of delayed refs in evict but never have any left
over space from our block rsv to make up for that fact. So reserve some
extra space and give it to the transaction so it can be used to refill
the delayed refs rsv every loop through the truncate path.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions