summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-05 22:44:33 +0300
committerJens Axboe <axboe@kernel.dk>2018-11-07 23:45:00 +0300
commit4b04cc6a8f86c4842314def22332de1f15de8523 (patch)
treef0cecec254909aa844fc819e60ec41b8c92b021a /include
parentd1e36282b0bbd5de6a9c4d5275e94ef3b3438f48 (diff)
downloadlinux-4b04cc6a8f86c4842314def22332de1f15de8523.tar.xz
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')
-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 {