]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c1047be8b94514bd00fd721e81a9428d7e2fa67
treece13f4d3a76929211161d40eb5d180252a99096a
parent6406d528d4b0af4bafd244d66f69287c37b19a58
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