[PATCH 2/3] nvme-pci: cap queue creation to used queues

Christoph Hellwig hch at lst.de
Wed Feb 11 07:56:44 PST 2026


On Tue, Feb 10, 2026 at 11:37:14AM -0800, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> If the user reduces the special queue count at runtime and resets the
> controller, we need to reduce the number of queues and interrupts
> requested accordingly rather than start with the pre-allocated queue
> count.

Maybe add a comment as the code isn't quite obvious?

Otherwise looks good.




More information about the Linux-nvme mailing list