]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add a flush step for delayed iputs
authorJosef Bacik <josef@toxicpanda.com>
Thu, 1 Aug 2019 22:19:33 +0000 (18:19 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:10 +0000 (14:59 +0200)
commit854d3aeceb0d317d55a0f8195e49a5d9c800cceb
treea05b8fe9ca52c60ce5410a1ee38bdca395539686
parent0f9827fe6d82ca56f29cecbcffb0ba6082219a1b
btrfs: add a flush step for delayed iputs

Delayed iputs could very well free up enough space without needing to
commit the transaction, so make this step it's own step.  This will
allow us to skip the step for evictions in a later patch.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/space-info.c
include/trace/events/btrfs.h