RDS: Set retry_count to 2 and make modifiable via modparam
This will be default cause IB connections to failover faster, but allow a longer retry count to be used if desired. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4edf547b4d
commit
3ba23ade46
@ -145,7 +145,7 @@ static void rds_ib_cm_fill_conn_param(struct rds_connection *conn,
|
||||
/* XXX tune these? */
|
||||
conn_param->responder_resources = 1;
|
||||
conn_param->initiator_depth = 1;
|
||||
conn_param->retry_count = 7;
|
||||
conn_param->retry_count = min_t(unsigned int, rds_ib_retry_count, 7);
|
||||
conn_param->rnr_retry_count = 7;
|
||||
|
||||
if (dp) {
|
||||
|
Reference in New Issue
Block a user