SUNRPC: Fail over more quickly on connect errors
We should not allow soft tasks to wait for longer than the major timeout period when waiting for a reconnect to occur. Remove the field xprt->connect_timeout since it has been obsoleted by xprt->reestablish_timeout. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
0b9e794313
commit
a8ce4a8f37
4 changed files with 2 additions and 21 deletions
|
@ -174,8 +174,7 @@ struct rpc_xprt {
|
|||
/*
|
||||
* Connection of transports
|
||||
*/
|
||||
unsigned long connect_timeout,
|
||||
bind_timeout,
|
||||
unsigned long bind_timeout,
|
||||
reestablish_timeout;
|
||||
unsigned int connect_cookie; /* A cookie that gets bumped
|
||||
every time the transport
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue