[PATCH 2/2] nvme: Delete created IO queues on reset

Christoph Hellwig hch at lst.de
Thu Oct 6 02:32:52 PDT 2016

On Wed, Oct 05, 2016 at 04:32:46PM -0400, Keith Busch wrote:
> Commit c21377f8 (Suspend all queues before deletion) decrements the
> online queue count prior to our attempt to delete those IO queues, so
> the driver ended up not having the controller delete any. This patch
> uses the queue_count instead of online_queues.

What if not all queues were online before?  Should we take a
a snapshot of ->online_queues before suspending the queues and
then use that later?

More information about the Linux-nvme mailing list