nvme-pci: only allow polling with separate poll queues
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Dec 2018 16:46:19 +0000 (17:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 18:38:18 +0000 (11:38 -0700)
commitc6d962aebaf8ec5d867aac09ee33e3f528c2539d
tree2d05eedc4d63a160860f759cc0d97b6f6b52b7b5
parent6322307809649cba6f545640563f95d686ecf404
nvme-pci: only allow polling with separate poll queues

This will allow us to simplify both the regular NVMe interrupt handler
and the upcoming aio poll code.  In addition to that the separate
queues are generally a good idea for performance reasons.

Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c