Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/kern Pull up following revision(s) (requested by chs ...



details:   https://anonhg.NetBSD.org/src/rev/78ad6258d32c
branches:  netbsd-6
changeset: 774131:78ad6258d32c
user:      riz <riz%NetBSD.org@localhost>
date:      Sat May 19 15:29:21 2012 +0000

description:
Pull up following revision(s) (requested by chs in ticket #267):
        sys/kern/vfs_subr.c: revision 1.435
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 dd60635f5c4a -r 78ad6258d32c sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Sat May 19 15:28:00 2012 +0000
+++ b/sys/kern/vfs_subr.c       Sat May 19 15:29:21 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.432.2.1 2012/05/07 03:01:13 riz Exp $   */
+/*     $NetBSD: vfs_subr.c,v 1.432.2.2 2012/05/19 15:29:21 riz 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.432.2.1 2012/05/07 03:01:13 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.432.2.2 2012/05/19 15:29:21 riz 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