aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorStefan Haberland <[email protected]>2021-03-05 13:54:39 +0100
committerJens Axboe <[email protected]>2021-03-05 11:30:17 -0700
commit66f669a272898feb1c69b770e1504aa2ec7723d1 (patch)
tree593c8cbba6ea22aed71b2254a535bca93d432423 /lib/mpi/mpiutil.c
parent7d365bd0bff3c0310c39ebaffc9a8458e036d666 (diff)
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: <[email protected]> # v4.14+ Signed-off-by: Stefan Haberland <[email protected]> Tested-by: Bjoern Walk <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions