diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-10-29 13:25:27 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 13:44:59 -0700 |
commit | 392546aed22009060911f76b6ea24520e2f8b50f (patch) | |
tree | d0277e8fe433b046a5d72d8ffb739db2bc1b3012 /block/blk-mq-debugfs.c | |
parent | b3c661b15d5ab11d982e58bee23e05c1780528a1 (diff) | |
download | linux-392546aed22009060911f76b6ea24520e2f8b50f.tar.gz linux-392546aed22009060911f76b6ea24520e2f8b50f.tar.bz2 linux-392546aed22009060911f76b6ea24520e2f8b50f.zip |
blk-mq: separate number of hardware queues from nr_cpu_ids
With multiple maps, nr_cpu_ids is no longer the maximum number of
hardware queues we support on a given devices. The initializer of
the tag_set can have set ->nr_hw_queues larger than the available
number of CPUs, since we can exceed that with multiple queue maps.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions