Revert "blk-mq: remove code for dealing with remapping queue"
authorMing Lei <[email protected]>
Tue, 24 Apr 2018 20:01:44 +0000 (04:01 +0800)
committerJens Axboe <[email protected]>
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 <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Tested-by: Stefan Haberland <[email protected]>
Cc: Ewan Milne <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c