diff options
author | 2015-11-26 12:10:29 +0100 | |
---|---|---|
committer | 2015-12-22 09:38:33 -0700 | |
commit | 846cc05f95d599801f296d8599e82686ebd395f0 (patch) | |
tree | f140f30687d295ac01c1a9d3654b96c85463a0c1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nvme: add NVME_SC_CANCELLED (diff) | |
download | wireguard-linux-846cc05f95d599801f296d8599e82686ebd395f0.tar.xz wireguard-linux-846cc05f95d599801f296d8599e82686ebd395f0.zip |
nvme: simplify resets
Don't delete the controller from dev_list before queuing a reset, instead
just check for it being reset in the polling kthread. This allows to remove
the dev_list_lock in various places, and in addition we can simply rely on
checking the queue_work return value to see if we could reset a controller.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions