]> 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)
commit8e3739d82372079fe67ed5a01f1adc345e76906b
treece13f4d3a76929211161d40eb5d180252a99096a
parent4fe8a6ab88c15a281f9e7ddb0cc1efd69b9e8f77
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