diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-10-29 22:25:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 23:44:59 +0300 |
commit | 392546aed22009060911f76b6ea24520e2f8b50f (patch) | |
tree | d0277e8fe433b046a5d72d8ffb739db2bc1b3012 /lib/ubsan.c | |
parent | b3c661b15d5ab11d982e58bee23e05c1780528a1 (diff) | |
download | linux-392546aed22009060911f76b6ea24520e2f8b50f.tar.xz |
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 'lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions