• Stefan Haberland's avatar
    s390/dasd: fix pathgroup race · 12d7b107
    Stefan Haberland authored
    If a new path is available we need to verify the path data. If it is the
    first path for a device the stop bits are removed after path verification.
    If a pathgroup is established we need to set system characteristics for
    the lcu. Therefore I/O has to be started.
    If the device is stopped the set system characteristics worker may block
    the path verification worker and the device is blocked.
    
    Turn on failfast for set system characteristics CQR to prevent a deadlock
    with the path verification worker.
    
    If a pathgroup is established on a device that is not in use trigger path
    verification. Maybe we were not informed about a working path.
    Signed-off-by: default avatarStefan Haberland <stefan.haberland@de.ibm.com>
    Reviewed-by: default avatarStefan Weinhuber <wein@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    12d7b107
dasd_eckd.c 120 KB