Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern remove a bogus optimization introduced in the previ...
details: https://anonhg.NetBSD.org/src/rev/704755164a66
branches: trunk
changeset: 779235:704755164a66
user: chs <chs%NetBSD.org@localhost>
date: Sat May 12 18:42:08 2012 +0000
description:
remove a bogus optimization introduced in the previous change.
fixes hangs in the rump/rumpvfs/t_etfs test.
diffstat:
sys/kern/vfs_subr.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r cd6a22af5713 -r 704755164a66 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c Sat May 12 15:29:22 2012 +0000
+++ b/sys/kern/vfs_subr.c Sat May 12 18:42:08 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_subr.c,v 1.434 2012/04/29 22:54:00 chs Exp $ */
+/* $NetBSD: vfs_subr.c,v 1.435 2012/05/12 18:42:08 chs Exp $ */
/*-
* Copyright (c) 1997, 1998, 2004, 2005, 2007, 2008 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.434 2012/04/29 22:54:00 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.435 2012/05/12 18:42:08 chs Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@@ -290,9 +290,6 @@
mutex_enter(vp->v_interlock);
(void) VOP_PUTPAGES(vp, 0, 0, pflags);
- if (LIST_EMPTY(&vp->v_dirtyblkhd) || (flags & FSYNC_DATAONLY))
- return 0;
-
loop:
mutex_enter(&bufcache_lock);
for (bp = LIST_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
Home |
Main Index |
Thread Index |
Old Index