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)
commita956beda19a6b39fbc19d0aaf21947acdc18cf74
tree11b06cad370cfa61ec0d69e108bea0e9c6fb286c
parent1c8d477a77e2d1d3504419e7f2e02e6422becf9a
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