]> 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)
commit65a01eb3920da6c5ae90b89bb5a23611f738f1b3
tree11b06cad370cfa61ec0d69e108bea0e9c6fb286c
parent6dac951f537950fbeb86416f90735f43ba441ca4
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