diff options
author | Stefan Haberland <sth@linux.ibm.com> | 2021-03-05 15:54:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-05 21:30:17 +0300 |
commit | 66f669a272898feb1c69b770e1504aa2ec7723d1 (patch) | |
tree | 593c8cbba6ea22aed71b2254a535bca93d432423 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7d365bd0bff3c0310c39ebaffc9a8458e036d666 (diff) | |
download | linux-66f669a272898feb1c69b770e1504aa2ec7723d1.tar.xz |
s390/dasd: fix hanging IO request during DASD driver unbind
Prevent that an IO request is build during device shutdown initiated by
a driver unbind. This request will never be able to be processed or
canceled and will hang forever. This will lead also to a hanging unbind.
Fix by checking not only if the device is in READY state but also check
that there is no device offline initiated before building a new IO request.
Fixes: e443343e509a ("s390/dasd: blk-mq conversion")
Cc: <stable@vger.kernel.org> # v4.14+
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Tested-by: Bjoern Walk <bwalk@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions