Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/kern Pull up revision 1.140 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/7852591974e1
branches:  netbsd-1-5
changeset: 490318:7852591974e1
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 14 23:36:02 2000 +0000

description:
Pull up revision 1.140 (requested by fvdl):
  Improve NFS performance, possibly with as much as 100% in
  throughput.  Please note: this implies a kernel interface change,
  VOP_FSYNC gains two arguments.

diffstat:

 sys/kern/vfs_subr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bfd5cec77643 -r 7852591974e1 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Thu Dec 14 23:35:59 2000 +0000
+++ b/sys/kern/vfs_subr.c       Thu Dec 14 23:36:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.128.2.4 2000/09/06 08:41:42 bouyer Exp $        */
+/*     $NetBSD: vfs_subr.c,v 1.128.2.5 2000/12/14 23:36:02 he Exp $    */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -641,7 +641,7 @@
        int s, error;
 
        if (flags & V_SAVE) {
-               error = VOP_FSYNC(vp, cred, FSYNC_WAIT|FSYNC_RECLAIM, p);
+               error = VOP_FSYNC(vp, cred, FSYNC_WAIT|FSYNC_RECLAIM, 0, 0, p);
                if (error)
                        return (error);
 #ifdef DIAGNOSTIC



Home | Main Index | Thread Index | Old Index