• Bart Van Assche's avatar
    scsi_transport_srp: Reduce failover time · e68ca752
    Bart Van Assche authored
    Unlike FC, there is no risk that SCSI devices will be offlined
    by the SCSI error handler if the SCSI error handler is started
    while a reconnect attempt is ongoing. Hence report timeout errors
    as soon as possible if a higher software layer (e.g. multipathd)
    needs to be informed about a timeout. It is assumed that if both
    fast_io_fail_tmo < 0 and rport->dev_loss_tmo < 0 that this means
    that there is no need to report timeouts quickly.
    Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
    Cc: James Bottomley <JBottomley@Odin.com>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>