]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove FLUSH_DELAYED_REFS from data ENOSPC flushing
authorJosef Bacik <josef@toxicpanda.com>
Tue, 22 Jun 2021 12:51:59 +0000 (15:51 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 22 Jun 2021 12:51:10 +0000 (14:51 +0200)
commit048085539243bfd43839fe3dc6cbc02b0c620fdc
treeaa8a1254dc2c4b27477200444bae43b1f391ffbe
parentc416a30cddec0840520e9ffb170aea6c6b6c64af
btrfs: remove FLUSH_DELAYED_REFS from data ENOSPC flushing

Since we unconditionally commit the transaction now we no longer need to
run the delayed refs to make sure our total_bytes_pinned value is
uptodate, we can simply commit the transaction.  Remove this stage from
the data flushing list.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c