Revert "blk-mq: remove code for dealing with remapping queue"
authorMing Lei <ming.lei@redhat.com>
Tue, 24 Apr 2018 20:01:44 +0000 (04:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Apr 2018 15:49:22 +0000 (09:49 -0600)
commit4412efecf7fda3b8f9f18feed7938f2281f5ccbc
tree911c447444e015012fa54ea15915f530f6bcef39
parentfe644072dfee069d97a66ea9a80f4bc461499e6a
Revert "blk-mq: remove code for dealing with remapping queue"

This reverts commit 37c7c6c76d431dd7ef9c29d95f6052bd425f004c.

Turns out some drivers(most are FC drivers) may not use managed
IRQ affinity, and has their customized .map_queues meantime, so
still keep this code for avoiding regression.

Reported-by: Laurence Oberman <loberman@redhat.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Cc: Ewan Milne <emilne@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c