diff options
| author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-04 00:08:45 -0400 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-05 14:12:09 -0400 |
| commit | 3851f1cdb2b8d507b10395fc110d4c37d6121285 (patch) | |
| tree | 295be3dd6dcc3874c34a6b6a86fbdb76dbfa98de /include/linux/sunrpc | |
| parent | 02910177aede34d6f49e2dc14b1c5c6cd468d94f (diff) | |
SUNRPC: Limit the reconnect backoff timer to the max RPC message timeout
...and ensure that we propagate it to new transports on the same
client.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/xprt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 5e3e1b63dbb3..a16070dd03ee 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
| @@ -218,7 +218,8 @@ struct rpc_xprt { | |||
| 218 | struct work_struct task_cleanup; | 218 | struct work_struct task_cleanup; |
| 219 | struct timer_list timer; | 219 | struct timer_list timer; |
| 220 | unsigned long last_used, | 220 | unsigned long last_used, |
| 221 | idle_timeout; | 221 | idle_timeout, |
| 222 | max_reconnect_timeout; | ||
| 222 | 223 | ||
| 223 | /* | 224 | /* |
| 224 | * Send stuff | 225 | * Send stuff |
