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.17 (requested by perseant):



details:   https://anonhg.NetBSD.org/src/rev/03f1a414cff9
branches:  netbsd-1-4
changeset: 469887:03f1a414cff9
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 17 23:53:17 1999 +0000

description:
Pull up revision 1.17 (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.h |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r acbc8348831b -r 03f1a414cff9 sys/ufs/lfs/lfs.h
--- a/sys/ufs/lfs/lfs.h Fri Dec 17 23:23:19 1999 +0000
+++ b/sys/ufs/lfs/lfs.h Fri Dec 17 23:53:17 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs.h,v 1.14.2.2 1999/12/17 23:20:39 he Exp $  */
+/*     $NetBSD: lfs.h,v 1.14.2.3 1999/12/17 23:53:17 he Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -85,9 +85,10 @@
 /*
  * Parameters and generic definitions
  */
-#define BW_CLEAN 1
-#define MIN_FREE_SEGS 4
-#define LFS_MAX_ACTIVE          10
+#define BW_CLEAN       1
+#define MIN_FREE_SEGS  4
+#define LFS_MAX_ACTIVE 10
+#define LFS_MAXDIROP   (desiredvnodes>>2)
 
 #ifndef LFS_ATIME_IFILE
 # define LFS_ITIMES(ip, acc, mod, cre) FFS_ITIMES((ip),(acc),(mod),(cre))
@@ -309,8 +310,6 @@
 #ifdef LFS_TRACK_IOS
        daddr_t   lfs_pending[LFS_THROTTLE]; /* daddrs of pending writes */
 #endif /* LFS_TRACK_IOS */
-# define LFS_MAXDIROP 32
-       int       lfs_dirvcount;        /* number of VDIROP-marked vnodes */
 #ifdef LFS_CANNOT_ROLLFW
        daddr_t   lfs_sbactive;         /* disk address of in-progress sb write */
 #endif



Home | Main Index | Thread Index | Old Index