summaryrefslogtreecommitdiffstats
path: root/include/linux/blk-mq.h
diff options
context:
space:
mode:
authorJens Axboe2018-11-05 20:44:33 +0100
committerJens Axboe2018-11-07 21:45:00 +0100
commit4b04cc6a8f86c4842314def22332de1f15de8523 (patch)
treef0cecec254909aa844fc819e60ec41b8c92b021a /include/linux/blk-mq.h
parentblock: add REQ_HIPRI and inherit it from IOCB_HIPRI (diff)
downloadkernel-qcow2-linux-4b04cc6a8f86c4842314def22332de1f15de8523.tar.gz
kernel-qcow2-linux-4b04cc6a8f86c4842314def22332de1f15de8523.tar.xz
kernel-qcow2-linux-4b04cc6a8f86c4842314def22332de1f15de8523.zip
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>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r--include/linux/blk-mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 729ce0f00433..9f5e93f40857 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -82,7 +82,7 @@ struct blk_mq_queue_map {
};
enum {
- HCTX_MAX_TYPES = 2,
+ HCTX_MAX_TYPES = 3,
};
struct blk_mq_tag_set {