[PATCH] nvme/pci: Fix queue double allocations

Sagi Grimberg sagi at grimberg.me
Tue Jan 23 22:29:34 PST 2018


> The queue count says the highest queue that's been allocated, so don't
> reallocate a queue lower than that.
> 
> Fixes: 147b27e4bd0 ("nvme-pci: allocate device queues storage space at probe")
> Signed-off-by: Keith Busch <keith.busch at intel.com>

Reviewed-by: Sagi Grimberg <sagi at grimberg.me>

I wish we wouldn't have to rely on nvme_alloc_queue for this though..



More information about the Linux-nvme mailing list