diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2019-08-01 18:19:36 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:10 +0200 |
| commit | 9ce2f423b9463f975720782b3838640da313ecb4 (patch) | |
| tree | 567d77d1f495a610d270f30a2edd7a9f0e721420 /net/lapb/lapb_subr.c | |
| parent | 03235279b4defc85e0e593824b27b5cf814b2fa0 (diff) | |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
