[PATCH RESENT] nvme-pci: suspend queues based on online_queues

Sagi Grimberg sagi at grimberg.me
Mon Feb 12 10:37:48 PST 2018


> nvme cq irq is freed based on queue_count. When the sq/cq creation
> fails, irq will not be setup. free_irq will warn 'Try to free
> already-free irq'.
> 
> To fix it, we only increase online_queues when adminq/sq/cq are
> created and associated irq is setup. Then suspend queues based
> on online_queues.
> 
> Signed-off-by: Jianchao Wang <jianchao.w.wang at oracle.com>

Can I get a review for this?



More information about the Linux-nvme mailing list