diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-05-31 05:12:42 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-05-31 05:12:42 +0000 |
commit | 86c7400523ae72abf1b81bb6ef63db57ae343603 (patch) | |
tree | 72c9518a00af41aba81752b99e3ecbacb3eb33a8 /sys/kern | |
parent | ec1778cddc212a1767ebd78b38099246c0a4d3b4 (diff) |
NFSv2 cannot cope with a big number of vnodes, so revert to NPROC-based
calculation until the problem is fixed, okay beck@ art@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_subr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 0aec0ef126d..012ba43e4b5 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.151 2007/05/30 04:27:42 beck Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.152 2007/05/31 05:12:41 pedro Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -111,7 +111,6 @@ void printlockedvnodes(void); #endif struct pool vnode_pool; -int desiredvnodes; /* * Initialize the vnode management data structures. @@ -119,8 +118,6 @@ int desiredvnodes; void vntblinit(void) { - - desiredvnodes = bufpages; pool_init(&vnode_pool, sizeof(struct vnode), 0, 0, 0, "vnodes", &pool_allocator_nointr); TAILQ_INIT(&vnode_hold_list); |