diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2011-04-17 14:10:12 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2011-04-17 14:10:12 +0000 |
commit | 2599955582c659accd7a26bb402ceeb685910940 (patch) | |
tree | b9fdcc667e3171bd8f5a50182fac76f67f9ab7e0 /sys/fs/nfs/nfs.h | |
parent | 83df5db1b3cba766699cdc83cba686ad470e736b (diff) | |
download | FreeBSD-src-2599955582c659accd7a26bb402ceeb685910940.zip FreeBSD-src-2599955582c659accd7a26bb402ceeb685910940.tar.gz |
Change some defaults in the experimental NFS client to be the
same as the regular NFS client for NFSv3. The main one is making
use of a reserved port# the default. Also, set the retry limit
for TCP the same and fix the code so that it doesn't disable
readdirplus for NFSv4.
MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nfs/nfs.h')
-rw-r--r-- | sys/fs/nfs/nfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/nfs/nfs.h b/sys/fs/nfs/nfs.h index 8cdeb8e..0bf0f74 100644 --- a/sys/fs/nfs/nfs.h +++ b/sys/fs/nfs/nfs.h @@ -56,6 +56,7 @@ #define NFSV4_UPCALLRETRY 4 /* Number of retries before failure */ #define NFS_MAXWINDOW 1024 /* Max number of outstanding requests */ #define NFS_RETRANS 10 /* Num of retrans for soft mounts */ +#define NFS_RETRANS_TCP 2 /* Num of retrans for TCP soft mounts */ #define NFS_MAXGRPS 16 /* Max. size of groups list */ #define NFS_TRYLATERDEL 15 /* Maximum delay timeout (sec) */ #ifndef NFS_REMOVETIMEO |