summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_softdep.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-03-04 16:40:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-03-04 16:40:30 +0000
commit9c5079219193206294e7a114c2ba7e2d29bc8186 (patch)
tree04c26e99db8a00e77497a42a89fecabad2caaaef /sys/ufs/ffs/ffs_softdep.c
parentdcefdfeec50bb1471680d40653c1a823d16b3c05 (diff)
Cut the number of dependencies to reduce problems on low-memory machines.
Diffstat (limited to 'sys/ufs/ffs/ffs_softdep.c')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index b82a65a19bb..007c484bb7c 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -874,7 +874,7 @@ softdep_initialize()
LIST_INIT(&mkdirlisthd);
LIST_INIT(&softdep_workitem_pending);
- max_softdeps = desiredvnodes * (32 / sizeof(register_t));
+ max_softdeps = desiredvnodes * (16 / sizeof(register_t));
pagedep_hashtbl = hashinit(desiredvnodes / 5, M_PAGEDEP, M_WAITOK,
&pagedep_hash);
sema_init(&pagedep_in_progress, "pagedep", PRIBIO, 0);