Thread (15 messages) 15 messages, 3 authors, 2019-02-15

Re: [patch V5 4/8] nvme-pci: Simplify interrupt allocation

From: Thomas Gleixner <hidden>
Date: 2019-02-15 09:54:43
Also in: linux-nvme, linux-pci, lkml

On Fri, 15 Feb 2019, Thomas Gleixner wrote:
On Fri, 15 Feb 2019, Marc Zyngier wrote:
quoted
quoted
+	 */
+	if (nrirqs == 1)
+		nr_read_queues = 0;
+	else if (write_queues >= nrirqs)
+		nr_read_queues = nrirqs - 1;
... while this seem to ensure that we carve out one write queue out of
the irq set. It looks like a departure from the original code, which
would set nr_read_queues to 1 in that particular case.
Bah. right you are.
That needs to be:

     nr_read_queues = 1;

obviously.

/me blushes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help