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)
commit844245b4548499efad26e33e408a459b1fe3a346
treea05b8fe9ca52c60ce5410a1ee38bdca395539686
parente11c0406ad1bb602e1e880fa4ff37dadb716639d
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