NFSv4: Set the connection timeout to match the lease period
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 8 Feb 2017 16:17:55 +0000 (11:17 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 9 Feb 2017 19:15:16 +0000 (14:15 -0500)
commit26ae102f2cfd0215daa57dc790aa3bfe534403a9
treece13f4d3a76929211161d40eb5d180252a99096a
parent7196dbb02ea05835b9ee56910ee82cb55422c7f1
NFSv4: Set the connection timeout to match the lease period

Set the timeout for TCP connections to be 1 lease period to ensure
that we don't lose our lease due to a faulty TCP connection.

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