summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-08-19 21:19:11 +0900
committerDavid Sterba <dsterba@suse.com>2021-10-26 19:07:59 +0200
commitd8da0e85673a9512b2eb11cdeabc7523b3a46ce2 (patch)
tree42f883b03baa65f88827abc63a15acf0c6a55e81 /lib/debugobjects.c
parent98173255bddd24cb7d50b5da936f8dff76f5a732 (diff)
btrfs: zoned: tweak reclaim threshold for zone capacity
With the introduction of zone capacity, the range [capacity, length] is always zone unusable. Counting this region as a reclaim target will cause reclaiming too early. Reclaim block groups based on bytes that can be usable after resetting. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions