[PATCH 5/5] nvme/pci: Complete all stuck requests

Keith Busch keith.busch at intel.com
Wed Feb 22 06:45:11 PST 2017


On Wed, Feb 22, 2017 at 08:17:54AM +0100, Christoph Hellwig wrote:
> On Tue, Feb 21, 2017 at 10:57:04AM -0500, Keith Busch wrote:
> > This is for suspend/resume. The freeze start is done during the suspend
> > phase, and the unfreeze on resume. Power management calls nvme_suspend,
> > which calls nvme_dev_disable with 'suspend == true',
> 
> I guess I'm missing something in my tree then.  I have a local tree
> with your five patches applied and there is no suspend argument anywhere
> in pci.c.

Err, I meant 'shutdown == true' for nvme_dev_disable, not suspend. That's
in the nvme tree. The part that isn't is the tree is the 'was_suspend' in
nvme_reset_work. That was part of the opal series directly in Jens' tree.



More information about the Linux-nvme mailing list