diff options
author | 2021-05-31 18:38:04 +0300 | |
---|---|---|
committer | 2021-07-27 09:39:18 +0200 | |
commit | d06314e0ce20398a0505e42041155d550e70a918 (patch) | |
tree | 512671eb562e3e6994b88f600fc3eef228691951 /tools/perf/scripts/python/stackcollapse.py | |
parent | s390/qdio: cancel the ESTABLISH ccw after timeout (diff) | |
download | linux-dev-d06314e0ce20398a0505e42041155d550e70a918.tar.xz linux-dev-d06314e0ce20398a0505e42041155d550e70a918.zip |
s390/qdio: improve roll-back after error on ESTABLISH ccw
If the ESTABLISH ccw fails (ie. the qdio_irq is set to
QDIO_IRQ_STATE_ERR), we don't need to call qdio_shutdown() for rolling
back our earlier actions. All the needed logic is already available in
qdio_establish()'s error chain, and using it means we don't have to
temporarily drop the setup_mutex either.
This makes qdio_shutdown() a purely external function, that should only
be called by the driver if an earlier qdio_establish() succeeded.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions