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>
This commit is contained in:
Trond Myklebust
2016-08-04 00:08:45 -04:00
parent 02910177ae
commit 3851f1cdb2
3 changed files with 17 additions and 7 deletions

View File

@@ -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