SUNRPC: Allow changing of the TCP timeout parameters on the fly
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 8 Feb 2017 16:17:54 +0000 (11:17 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 9 Feb 2017 19:02:10 +0000 (14:02 -0500)
commit7196dbb02ea05835b9ee56910ee82cb55422c7f1
treefc88f21e81df46ac054ee82f635bb1a822ef94bc
parent8d1b8c62e0805af7df900ef121389778d2126997
SUNRPC: Allow changing of the TCP timeout parameters on the fly

When the NFSv4 server tells us the lease period, we usually want
to adjust down the timeout parameters on the TCP connection to
ensure that we don't miss lease renewals due to a faulty connection.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xprt.h
include/linux/sunrpc/xprtsock.h
net/sunrpc/clnt.c
net/sunrpc/xprtsock.c