android_kernel_motorola_sm6375/drivers/s390
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan Haberland 3bc266631a s390/dasd: fix hanging IO request during DASD driver unbind
commit 66f669a272898feb1c69b770e1504aa2ec7723d1 upstream.

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: e443343e50 ("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]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-03-17 17:03:48 +01:00
..
block s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 17:03:48 +01:00
char
cio s390/cio: return -EFAULT if copy_to_user() fails 2021-03-17 17:03:39 +01:00
crypto s390/crypto: return -EFAULT if copy_to_user() fails 2021-03-17 17:03:39 +01:00
net s390/qeth: fix L2 header access in qeth_l3_osa_features_check() 2021-01-17 14:05:32 +01:00
scsi
virtio virtio/s390: implement virtio-ccw revision 2 correctly 2021-03-04 10:26:50 +01:00
Makefile