Johannes Thumshirn
3687fcb075
btrfs: zoned: make auto-reclaim less aggressive
...
The current auto-reclaim algorithm starts reclaiming all block groups
with a zone_unusable value above a configured threshold. This is causing
a lot of reclaim IO even if there would be enough free zones on the
device.
Instead of only accounting a block groups zone_unusable value, also take
the ratio of free and not usable (written as well as zone_unusable)
bytes a device has into account.
Tested-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-05-16 17:03:11 +02:00
..
2022-03-14 13:13:50 +01:00
2022-05-16 17:03:08 +02:00
2021-11-16 16:50:23 +01:00
2020-03-23 17:01:51 +01:00
2022-03-14 13:13:53 +01:00
2021-08-23 13:19:01 +02:00
2022-05-16 17:03:11 +02:00
2022-04-06 00:50:41 +02:00
2022-01-07 14:18:25 +01:00
2022-01-03 15:09:48 +01:00
2022-04-27 22:15:40 +02:00
2022-05-16 17:03:11 +02:00
2020-03-23 17:01:39 +01:00
2022-05-16 17:03:11 +02:00
2022-03-14 13:13:51 +01:00
2022-05-16 17:03:09 +02:00
2022-05-16 17:03:10 +02:00
2022-05-16 17:03:10 +02:00
2020-07-27 12:55:36 +02:00
2022-01-07 14:18:23 +01:00
2020-12-08 15:54:10 +01:00
2022-01-07 14:18:25 +01:00
2021-10-26 19:08:06 +02:00
2022-05-16 17:03:08 +02:00
2021-02-09 02:46:07 +01:00
2022-05-16 17:03:07 +02:00
2021-06-22 14:11:57 +02:00
2020-12-08 15:54:02 +01:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:07 +02:00
2020-12-08 15:54:02 +01:00
2020-03-23 17:01:42 +01:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:11 +02:00
2022-03-14 13:13:50 +01:00
2022-02-23 17:43:13 +01:00
2022-03-15 08:23:29 -04:00
2022-05-16 17:03:10 +02:00
2022-03-14 13:13:51 +01:00
2022-05-16 17:03:10 +02:00
2022-05-16 17:03:11 +02:00
2022-01-03 15:09:50 +01:00
2022-03-14 13:13:49 +01:00
2019-11-18 17:51:51 +01:00
2022-01-07 14:18:25 +01:00
2022-01-07 14:18:24 +01:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:11 +02:00
2022-01-20 08:52:55 +02:00
2021-06-22 14:11:57 +02:00
2021-10-26 19:08:02 +02:00
2022-03-14 13:13:50 +01:00
2022-03-13 17:30:31 +09:00
2021-09-07 14:29:50 +02:00
2022-03-14 13:13:51 +01:00
2022-03-14 13:13:51 +01:00
2018-04-12 16:29:51 +02:00
2022-03-14 13:13:53 +01:00
2021-01-07 17:25:05 +01:00
2022-05-16 17:03:08 +02:00
2022-05-16 17:03:08 +02:00
2022-05-16 17:03:10 +02:00
2022-05-16 17:03:10 +02:00
2022-05-16 17:03:11 +02:00
2021-10-26 19:08:03 +02:00
2020-03-23 17:01:53 +01:00
2022-01-03 15:09:49 +01:00
2019-04-29 19:02:49 +02:00
2022-05-16 17:03:09 +02:00
2020-03-23 17:01:54 +01:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:10 +02:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:08 +02:00
2022-03-14 13:13:46 +01:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:11 +02:00
2021-08-23 13:18:58 +02:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:09 +02:00
2022-05-16 17:03:11 +02:00
2020-10-07 12:12:21 +02:00
2022-03-14 13:13:52 +01:00
2022-03-14 13:13:52 +01:00
2022-05-16 17:03:09 +02:00
2022-05-16 17:03:09 +02:00
2022-01-03 15:09:48 +01:00
2022-05-16 17:03:07 +02:00
2022-03-14 13:13:48 +01:00
2021-04-20 19:27:17 +02:00
2021-04-19 17:25:17 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2022-01-03 15:09:43 +01:00
2022-01-03 15:09:43 +01:00
2022-05-16 17:03:11 +02:00
2022-04-19 15:44:56 +02:00
2022-05-16 17:03:08 +02:00
2019-04-29 19:02:44 +02:00
2021-10-29 13:03:05 +02:00
2022-05-16 17:03:11 +02:00
2022-05-16 17:03:11 +02:00
2021-11-08 16:55:21 -08:00