diff options
author | Gabriel Krisman Bertazi <[email protected]> | 2016-09-06 17:39:13 -0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-09-07 08:53:21 -0600 |
commit | 82469c59d222f839ded5cd282172258e026f9112 (patch) | |
tree | afa8c5ae402d70b803373656b6afa069b93bea69 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c6935931c1894ff857616ff8549b61236a19148f (diff) |
nvme: Don't suspend admin queue that wasn't created
This fixes a regression in my previous commit c21377f8366c ("nvme:
Suspend all queues before deletion"), which provoked an Oops in the
removal path when removing a device that became IO incapable very early
at probe (i.e. after a failed EEH recovery).
Turns out, if the error occurred very early at the probe path, before
even configuring the admin queue, we might try to suspend the
uninitialized admin queue, accessing bad memory.
Fixes: c21377f8366c ("nvme: Suspend all queues before deletion")
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Reviewed-by: Jay Freyensee <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions