[PATCH] nvme/pci: Poll CQ on timeout

Christoph Hellwig hch at lst.de
Tue Feb 28 06:10:17 PST 2017


On Fri, Feb 24, 2017 at 05:59:28PM -0500, Keith Busch wrote:
> If an IO timeout occurs, it's helpful to know if the controller did not
> post a completion or the driver missed an interrupt. While we never expect
> the latter, this patch will make it possible to tell the difference so
> we don't have to guess.

Do you have any good real use case for it?  I mostly don't like it
becuase it ties us to polling for a specific tag, something I'd like
to change in the ->poll API.



More information about the Linux-nvme mailing list