]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Allow the mount option retrans=0
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 16 Aug 2016 14:26:47 +0000 (10:26 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 16 Aug 2016 15:00:06 +0000 (11:00 -0400)
commitdc4f843afdc3af084bc1fb3aa3caf2b88c4e00ca
tree11b06cad370cfa61ec0d69e108bea0e9c6fb286c
parent37330d126b0e76cb588c38e9a0362b2bc6428914
NFS: Allow the mount option retrans=0

We should allow retrans=0 as just meaning that every timeout is a major
timeout, and that there is no increment in the timeout value.

For instance, this means that we would allow TCP users to specify a
flat timeout value of 60s, by specifying "timeo=600,retrans=0" in their
mount option string.

Siged-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/super.c