• David Dillow's avatar
    IB/srp: Retry stale connections · 9fe4bcf4
    David Dillow authored
    When a host just goes away (crash, power loss, etc.) without tearing
    down its IB connections, it can get stale connection errors when it
    tries to reconnect to targets upon rebooting.  Retrying the connection
    a few times will prevent sysadmins from playing the "which disk(s)
    went missing?" game.
    
    This would have made things slightly quicker when tracking down some
    of the recent bugs, but it also helps quite a bit when you've got a
    large number of targets hanging off a wedged server.
    Signed-off-by: default avatarDavid Dillow <dillowda@ornl.gov>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    9fe4bcf4
ib_srp.h 4.09 KB