diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-04 07:08:45 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-05 21:12:09 +0300 |
commit | 3851f1cdb2b8d507b10395fc110d4c37d6121285 (patch) | |
tree | 295be3dd6dcc3874c34a6b6a86fbdb76dbfa98de /include | |
parent | 02910177aede34d6f49e2dc14b1c5c6cd468d94f (diff) | |
download | linux-3851f1cdb2b8d507b10395fc110d4c37d6121285.tar.xz |
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')
-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 |