diff options
| author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-08-19 21:19:11 +0900 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-10-26 19:07:59 +0200 |
| commit | d8da0e85673a9512b2eb11cdeabc7523b3a46ce2 (patch) | |
| tree | 42f883b03baa65f88827abc63a15acf0c6a55e81 /lib/mpi/mpi-add.c | |
| parent | 98173255bddd24cb7d50b5da936f8dff76f5a732 (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/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
