aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-08-01 18:19:36 -0400
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:10 +0200
commit9ce2f423b9463f975720782b3838640da313ecb4 (patch)
tree567d77d1f495a610d270f30a2edd7a9f0e721420 /fs/btrfs/ctree.h
parentbtrfs: factor out the ticket flush handling (diff)
downloadlinux-dev-9ce2f423b9463f975720782b3838640da313ecb4.tar.xz
linux-dev-9ce2f423b9463f975720782b3838640da313ecb4.zip
btrfs: refactor priority_reclaim_metadata_space
With the eviction flushing stuff we'll want to allow for different states, but still work basically the same way that priority_reclaim_metadata_space works currently. Refactor this to take the flushing states and size as an argument so we can use the same logic for limit flushing and eviction flushing. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions