summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2011-08-17 15:48:23 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2011-08-17 15:48:23 +0000
commitace31360c8511d1cf6cdc79a7cb1a24860a8b1cd (patch)
tree8bbdf6241b28c8d3b12e5733c4c8abd78dcec7d0 /sys
parent0f58bb6791a096e040f8a455f1f3c77e0eef48e4 (diff)
remove the clamping of max_softdeps as it makes
softdeps almost totally unusable;
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 80d9da3d25f..4b7fcf17a9a 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_softdep.c,v 1.109 2011/08/16 14:36:39 thib Exp $ */
+/* $OpenBSD: ffs_softdep.c,v 1.110 2011/08/17 15:48:22 thib Exp $ */
/*
* Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved.
@@ -1159,7 +1159,6 @@ softdep_initialize(void)
#else
max_softdeps = desiredvnodes * 4;
#endif
- max_softdeps = 64;
pagedep_hashtbl = hashinit(desiredvnodes / 5, M_PAGEDEP, M_WAITOK,
&pagedep_hash);
sema_init(&pagedep_in_progress, "pagedep", PRIBIO, 0);