]> 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)
commit2c78c0543f6c46b62a88c70a48019e46dccf9f51
treeaa8a1254dc2c4b27477200444bae43b1f391ffbe
parenta6c10c86a9aeb95b9658e88947686f27893e8549
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