OSDN Git Service

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)
commitf97809aec58995a87a9a30cb45c9a6148377df64
tree2627cb0aa765e81490b9ebb177c5a3cbd0fc679b
parent18979819b57ecbc598a8e27d925ab4bb9e145cf0
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