diff options
author | David Dillow <dillowda@ornl.gov> | 2008-01-08 22:08:52 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-02-05 04:20:43 (GMT) |
commit | 9fe4bcf45ece0b0081031edaaa41581c85ef7049 (patch) | |
tree | b4d7cd3aff19fe8802d71d031d79340962164434 /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | 893da75956ab48545e8732b46e1cf4350bd25f9c (diff) | |
download | linux-9fe4bcf45ece0b0081031edaaa41581c85ef7049.tar.xz |
IB/srp: Retry stale connections
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: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 4a3c1f3..cb6eb81 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -54,6 +54,7 @@ enum { SRP_PORT_REDIRECT = 1, SRP_DLID_REDIRECT = 2, + SRP_STALE_CONN = 3, SRP_MAX_LUN = 512, SRP_DEF_SG_TABLESIZE = 12, |