dm zoned: start reclaim with sequential zones
authorHannes Reinecke <hare@suse.de>
Tue, 19 May 2020 08:14:22 +0000 (10:14 +0200)
committerMike Snitzer <snitzer@redhat.com>
Wed, 20 May 2020 21:09:51 +0000 (17:09 -0400)
commitc5c7885952927384837a070793698d996cb0fbf3
treed057a5f1d6525c8b3a13912f0b707b92f982f68b
parent90a9b8693f1b84a695864f2b416cba9bde107268
dm zoned: start reclaim with sequential zones

Sequential zones perform better for reclaim, so start off using
them and only use random zones as a fallback when cache zones are
present.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-reclaim.c