diff options
author | Keith Busch <[email protected]> | 2016-02-24 09:15:56 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-03-03 14:42:50 -0700 |
commit | 69d9a99c258eb1d6478fd9608a2070890797eed7 (patch) | |
tree | c431aebc0a314c5f84604f4bf609482df5248938 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f58944e265d4ebe47216a5d7488aee3928823d30 (diff) |
NVMe: Move error handling to failed reset handler
This moves failed queue handling out of the namespace removal path and
into the reset failure path, fixing a hanging condition if the controller
fails or link down during del_gendisk. Previously the driver had to see
the controller as degraded prior to calling del_gendisk to setup the
queues to fail. But, if the controller happened to fail after this,
there was no task to end outstanding requests.
On failure, all namespace states are set to dead. This has capacity
revalidate to 0, and ends all new requests with error status.
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions