• Stefan Weinhuber's avatar
    [S390] dasd: fix expiration handling for recovery requests · 1afcfd59
    Stefan Weinhuber authored
    The 'expires' value of a ccw requests defines how long the device
    driver should wait for a response from the evice after the request has
    been submitted to the channel subsystem. After the expiration time
    (e.g. 30 seconds) the waiting request will be cancelled and started
    again. This protects the DASD devices from beeing blocked by errors
    that cause the answering I/O interrupt to be lost.
    
    In case of error recovery requests, this 'expires' value used to be
    set to 0, so in case of a lost interrupt, such a recovery request
    would never expire and block the device. To prevent this kind of
    problem, all recovery requests need to have an expires value > 0 as
    well. If not specified otherwise, this should be the same expires
    value as for the original request.
    Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    1afcfd59
dasd_3990_erp.c 68.8 KB