diff options
author | Keith Busch <[email protected]> | 2015-11-26 12:11:07 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-12-22 09:38:33 -0700 |
commit | e1569a16180aef4311ff5fc54f54b23ae9e8a03e (patch) | |
tree | 0f2dfa80b824d26feef104e4deb63352f3587eb9 /tools/perf/scripts/python/sched-migration.py | |
parent | 846cc05f95d599801f296d8599e82686ebd395f0 (diff) |
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 <[email protected]>
[hch: split and rebase]
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions