diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-11-05 12:44:33 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 13:45:00 -0700 |
commit | 4b04cc6a8f86c4842314def22332de1f15de8523 (patch) | |
tree | f0cecec254909aa844fc819e60ec41b8c92b021a /include/linux/blk-mq.h | |
parent | d1e36282b0bbd5de6a9c4d5275e94ef3b3438f48 (diff) | |
download | linux-stable-4b04cc6a8f86c4842314def22332de1f15de8523.tar.gz linux-stable-4b04cc6a8f86c4842314def22332de1f15de8523.tar.bz2 linux-stable-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.h | 2 |
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 { |