• Keith Busch's avatar
    nvme/pci: Fix read queue count · 7e4c6b9a
    Keith Busch authored
    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: default avatarJens Axboe <axboe@kernel.dk>
    Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
    7e4c6b9a
pci.c 80.7 KB