nvme: provide optimized poll function for separate poll queues
authorJens Axboe <axboe@kernel.dk>
Wed, 14 Nov 2018 16:38:28 +0000 (09:38 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Nov 2018 15:33:55 +0000 (08:33 -0700)
commitdabcefab45d36ecb5a22f16577bb0f298876a22d
tree01f2eb3d2c418089177d502b217b0928fb4b6fe6
parent9334ae5e6f9972110c2be136178ca2591c072b62
nvme: provide optimized poll function for separate poll queues

If we have separate poll queues, we know that they aren't using
interrupts. Hence we don't need to disable interrupts around
finding completions.

Provide a separate set of blk_mq_ops for such devices.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c