nvme: add separate poll queue map
authorJens Axboe <axboe@kernel.dk>
Mon, 5 Nov 2018 19:44:33 +0000 (12:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 02:47:54 +0000 (19:47 -0700)
commita78564bbf78b6a82f81ccaa85dc0cd1ab2563a34
treeb8df42e9c413fc95c51ad76685423914dfb1939d
parentfd5c773047c93e5383e7618d3a5efd15cb61a27d
nvme: add separate poll queue map

Adds support for defining a variable number of poll queues, currently
configurable with the 'poll_queues' module parameter. Defaults to
a single poll queue.

And now we finally have poll support without triggering interrupts!

Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c
include/linux/blk-mq.h