[PATCH 4/9] nvme: do not restart the request timeout if we're resetting the controller
Christoph Hellwig
hch at lst.de
Thu Oct 22 11:17:17 PDT 2015
On Thu, Oct 22, 2015 at 05:15:18PM +0000, Busch, Keith wrote:
> But the request is available for reuse after completion. Can we
> can rely on REQ_ATOM_COMPETE when the req is allocated for a new command?
We can't. What I intended to rely on is a controller reset killing all
I/O queue state, but we still have a small race window between the return from
->timeout and the actual controller reset. I'll have to figure out a way
to mitigate that.
More information about the Linux-nvme
mailing list