Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/ufs/lfs Pull up revision 1.32 (requested by perseant):
details: https://anonhg.NetBSD.org/src/rev/67bd543a9db0
branches: netbsd-1-4
changeset: 469890:67bd543a9db0
user: he <he%NetBSD.org@localhost>
date: Fri Dec 17 23:54:40 1999 +0000
description:
Pull up revision 1.32 (requested by perseant):
Address locking protocol error for inode hash, and make the
maximum number of active dirops a global quantity.
diffstat:
sys/ufs/lfs/lfs_segment.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 4e5bdff97c4a -r 67bd543a9db0 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Fri Dec 17 23:54:11 1999 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Fri Dec 17 23:54:40 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_segment.c,v 1.23.2.5 1999/12/16 23:31:46 he Exp $ */
+/* $NetBSD: lfs_segment.c,v 1.23.2.6 1999/12/17 23:54:40 he Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -136,6 +136,7 @@
int lfs_allclean_wakeup; /* Cleaner wakeup address. */
int lfs_writeindir = 1; /* whether to flush indir on non-ckp */
int lfs_clean_vnhead = 0; /* Allow freeing to head of vn list */
+int lfs_dirvcount = 0; /* # active dirops */
/* Statistics Counters */
int lfs_dostats = 1;
@@ -380,9 +381,9 @@
}
if(vp->v_flag & VDIROP) {
- --fs->lfs_dirvcount;
+ --lfs_dirvcount;
vp->v_flag &= ~VDIROP;
- wakeup(&fs->lfs_dirvcount);
+ wakeup(&lfs_dirvcount);
lfs_vunref(vp);
}
Home |
Main Index |
Thread Index |
Old Index