aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorGravatar Keith Busch <kbusch@kernel.org> 2019-12-06 08:11:17 +0900
committerGravatar Keith Busch <kbusch@kernel.org> 2019-12-07 02:52:47 +0900
commit7e4c6b9a5d22485acf009b3c3510a370f096dd54 (patch)
treeeb93ff6c8336762b8ebac44703bb7a6d5f165d01 /block
parentnvme/pci Limit write queue sizes to possible cpus (diff)
downloadlinux-7e4c6b9a5d22485acf009b3c3510a370f096dd54.tar.gz
linux-7e4c6b9a5d22485acf009b3c3510a370f096dd54.tar.bz2
linux-7e4c6b9a5d22485acf009b3c3510a370f096dd54.zip
nvme/pci: Fix read queue count
If nvme.write_queues equals the number of CPUs, the driver had decreased the number of interrupts available such that there could only be one read queue even if the controller could support more. Remove the interrupt count reduction in this case. The driver wouldn't request more IRQs than it wants queues anyway. Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions