summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfs
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-04-15 23:07:48 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-04-15 23:07:48 +0000
commit89d72449fdf91333a1b81a65107d82cca75083b2 (patch)
treedc295d4b90267403a355d3fb00246d83534b599c /sys/fs/nfs
parent36e0dc082a0ea936535f5066e7e8dae421516737 (diff)
downloadFreeBSD-src-89d72449fdf91333a1b81a65107d82cca75083b2.zip
FreeBSD-src-89d72449fdf91333a1b81a65107d82cca75083b2.tar.gz
Change the experimental NFS client so that it creates nfsiod
threads in the same manner as the regular NFS client after r214026 was committed. This resolves the lors fixed by r214026 and its predecessors for the regular client. Reviewed by: jhb MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nfs')
-rw-r--r--sys/fs/nfs/nfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/nfs/nfs.h b/sys/fs/nfs/nfs.h
index 656c6c2..8cdeb8e 100644
--- a/sys/fs/nfs/nfs.h
+++ b/sys/fs/nfs/nfs.h
@@ -70,8 +70,9 @@
#define NFS_WSIZE 8192 /* Def. write data size <= 8192 */
#define NFS_RSIZE 8192 /* Def. read data size <= 8192 */
#define NFS_READDIRSIZE 8192 /* Def. readdir size */
-#define NFS_DEFRAHEAD 0 /* Def. read ahead # blocks */
-#define NFS_MAXRAHEAD 32 /* Max. read ahead # blocks */
+#define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */
+#define NFS_MAXRAHEAD 16 /* Max. read ahead # blocks */
+#define NFS_MAXASYNCDAEMON 64 /* Max. number async_daemons runnable */
#define NFS_MAXUIDHASH 64 /* Max. # of hashed uid entries/mp */
#ifndef NFSRV_LEASE
#define NFSRV_LEASE 120 /* Lease time in seconds for V4 */
OpenPOWER on IntegriCloud