summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs/nfs.h')
-rw-r--r--sys/nfs/nfs.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h
index 8e092f5cafc..1e801af776d 100644
--- a/sys/nfs/nfs.h
+++ b/sys/nfs/nfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs.h,v 1.48 2009/08/14 21:16:13 thib Exp $ */
+/* $OpenBSD: nfs.h,v 1.49 2009/08/20 15:04:24 thib Exp $ */
/* $NetBSD: nfs.h,v 1.10.4.1 1996/05/27 11:23:56 fvdl Exp $ */
/*
@@ -55,7 +55,8 @@
#define NFS_READDIRSIZE 8192 /* Def. readdir size */
#define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */
#define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */
-#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runable */
+#define NFS_MAXASYNCDAEMON 64 /* Max. # of aiods runnable. */
+#define NFS_DEFASYNCDAEMON 4 /* Def. # of aiods runnable. */
/*
* Ideally, NFS_DIRBLKSIZ should be bigger, but I've seen servers with
@@ -189,8 +190,6 @@ struct nfsstats {
* by them and break.
*/
#ifdef _KERNEL
-extern int nfs_niothreads;
-
struct uio; struct buf; struct vattr; struct nameidata; /* XXX */
#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \