diff options
author | Keith Busch <keith.busch@intel.com> | 2015-11-26 12:11:07 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-12-22 09:38:33 -0700 |
commit | e1569a16180aef4311ff5fc54f54b23ae9e8a03e (patch) | |
tree | 0f2dfa80b824d26feef104e4deb63352f3587eb9 /drivers/nvme/host/Makefile | |
parent | 846cc05f95d599801f296d8599e82686ebd395f0 (diff) | |
download | op-kernel-dev-e1569a16180aef4311ff5fc54f54b23ae9e8a03e.zip op-kernel-dev-e1569a16180aef4311ff5fc54f54b23ae9e8a03e.tar.gz |
nvme: do not restart the request timeout if we're resetting the controller
Otherwise we're never going to complete a command when it is restarted just
after we completed all other outstanding commands in nvme_clear_queue.
The controller must be disabled prior to completing a presumed lost
command, do this by directly shutting down the controller before
queueing the reset work, and return EH_HANDLED from the timeout handler
after we shut the controller down.
Signed-off-by: Keith Busch <keith.busch@intel.com>
[hch: split and rebase]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/Makefile')
0 files changed, 0 insertions, 0 deletions