linux-stable/drivers/s390
Stefan Haberland a8e5d491df s390/dasd: fix possibly missed path verification
__dasd_device_check_path_events() calls the discipline path event handler.
This handler can leave the 'to be verified pathmask' populated for an
additional verification.

There is a race window where the worker has finished before
dasd_path_clear_all_verify() is called which resets the tbvpm.

Due to this there could be outstanding path verifications missed.

Fix by clearing the pathmasks before calling the handler and add them
again in case of an error.

Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Link: https://lore.kernel.org/r/20211020115124.1735254-8-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-20 08:10:42 -06:00
..
block s390/dasd: fix possibly missed path verification 2021-10-20 08:10:42 -06:00
char s390/sclp: fix Secure-IPL facility detection 2021-09-15 14:29:21 +02:00
cio s390/cio: avoid excessive path-verification requests 2021-09-27 13:54:38 +02:00
crypto vfio/ap_ops: Add missed vfio_uninit_group_dev() 2021-09-24 10:04:44 -06:00
net s390/qeth: fix deadlock during failing recovery 2021-09-21 20:02:24 -07:00
scsi 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile