[PATCH] NVMe: Re-attach waitqueue following device reset

Busch, Keith keith.busch at intel.com
Tue Nov 4 15:25:45 PST 2014


> I still see queued bio's getting lost if a successful device reset
> is followed by a failed resume.  I'm working on a patch for that case.

Oh, that doesn't sound good. If the device fails to resume, the driver requests the pci layer remove it. That then calls the driver's .remove which clears the bio lists after the queue is freed.

This sequence may deadlock when bios are queued if you don't have this commit:

http://git.infradead.org/users/willy/linux-nvme.git/commitdiff/74bae7e0dd70f3eee05d577d3d25fbcd54af4228

But if you do have that commit, then something else is amiss.



More information about the Linux-nvme mailing list