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) | |
download | lwn-3851f1cdb2b8d507b10395fc110d4c37d6121285.tar.gz lwn-3851f1cdb2b8d507b10395fc110d4c37d6121285.zip |
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 { struct work_struct task_cleanup; struct timer_list timer; unsigned long last_used, - idle_timeout; + idle_timeout, + max_reconnect_timeout; /* * Send stuff |