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.13 (requested by perseant):
details: https://anonhg.NetBSD.org/src/rev/4e5bdff97c4a
branches: netbsd-1-4
changeset: 469889:4e5bdff97c4a
user: he <he%NetBSD.org@localhost>
date: Fri Dec 17 23:54:11 1999 +0000
description:
Pull up revision 1.13 (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_bio.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 45221fbd48b8 -r 4e5bdff97c4a sys/ufs/lfs/lfs_bio.c
--- a/sys/ufs/lfs/lfs_bio.c Fri Dec 17 23:53:41 1999 +0000
+++ b/sys/ufs/lfs/lfs_bio.c Fri Dec 17 23:54:11 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_bio.c,v 1.9.2.3 1999/12/17 23:21:03 he Exp $ */
+/* $NetBSD: lfs_bio.c,v 1.9.2.4 1999/12/17 23:54:11 he Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -348,6 +348,7 @@
{
int error;
struct lfs *fs;
+ extern int lfs_dirvcount;
error = 0;
@@ -363,7 +364,7 @@
if (locked_queue_count > LFS_MAX_BUFS
|| locked_queue_bytes > LFS_MAX_BYTES
- || fs->lfs_dirvcount > LFS_MAXDIROP
+ || lfs_dirvcount > LFS_MAXDIROP
|| fs->lfs_diropwait > 0)
{
++fs->lfs_writer;
Home |
Main Index |
Thread Index |
Old Index