]> git.baikalelectronics.ru Git - kernel.git/commit
dm zoned: per-device reclaim
authorHannes Reinecke <hare@suse.de>
Tue, 2 Jun 2020 11:09:50 +0000 (13:09 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:50 +0000 (14:59 -0400)
commit5855f274e1cd2658449d02332009a323ec7ff329
tree2627cb0aa765e81490b9ebb177c5a3cbd0fc679b
parentcb4b58e9ee71cf2810d8de0d0eaeb92bb7f2a19f
dm zoned: per-device reclaim

Instead of having one reclaim workqueue for the entire set we should
be allocating a reclaim workqueue per device; doing so will reduce
contention and should boost performance for a multi-device setup.

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
drivers/md/dm-zoned-target.c
drivers/md/dm-zoned.h