• Stefan Haberland's avatar
    s390/dasd: fix failing path verification · 1eb38023
    Stefan Haberland authored
    DASD path verification requires the usage of sleep_on_immediatly to
    ensure that no other I/O request is blocking the recovery of
    disconnected devices. But two concurrent path verification workers for
    the same device may kill each others requests due to the usage of the
    immediate sleep_on function. This may lead to unsuccessful path
    verifications.
    
    Prevent that two parallel path verification workers conflict with
    each other by implementing a device flag signalling a already running
    worker.
    Signed-off-by: default avatarStefan Haberland <stefan.haberland@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    1eb38023
dasd_int.h 26.9 KB