Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Under degenerate access patterns (e.g. `bonnie' ...
details: https://anonhg.NetBSD.org/src/rev/360da6217fef
branches: trunk
changeset: 477561:360da6217fef
user: perseant <perseant%NetBSD.org@localhost>
date: Thu Oct 21 16:53:43 1999 +0000
description:
Under degenerate access patterns (e.g. `bonnie' benchmark) lfs_check could
fail, because the particular block being requested was always in the cache
(although other routines that cannot afford to call lfs_check have in the
meantime stuffed the cache full of dirty blocks). Partially addresses PR 8383.
diffstat:
sys/ufs/lfs/lfs_bio.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 25df6923ac60 -r 360da6217fef sys/ufs/lfs/lfs_bio.c
--- a/sys/ufs/lfs/lfs_bio.c Thu Oct 21 15:38:54 1999 +0000
+++ b/sys/ufs/lfs/lfs_bio.c Thu Oct 21 16:53:43 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_bio.c,v 1.11 1999/06/01 03:00:40 perseant Exp $ */
+/* $NetBSD: lfs_bio.c,v 1.12 1999/10/21 16:53:43 perseant Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -350,8 +350,6 @@
struct lfs *fs;
error = 0;
- if (incore(vp, blkno))
- return (0);
/* If out of buffers, wait on writer */
/* XXX KS - if it's the Ifile, we're probably the cleaner! */
Home |
Main Index |
Thread Index |
Old Index