]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add new flushing states for the delayed refs rsv
authorJosef Bacik <josef@toxicpanda.com>
Mon, 3 Dec 2018 15:20:35 +0000 (10:20 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:47 +0000 (14:51 +0100)
commit62c8433caa898e4b40f5dd5614e1b56cf8fbeea8
treec64980d392f57896c9d70cf0e561b47dd6e5d26e
parent06651cfb131387e6a766065e9b5da3637d7db82d
btrfs: add new flushing states for the delayed refs rsv

A nice thing we gain with the delayed refs rsv is the ability to flush
the delayed refs on demand to deal with enospc pressure.  Add states to
flush delayed refs on demand, and this will allow us to remove a lot of
ad-hoc work around checking to see if we should commit the transaction
to run our delayed refs.

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