Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/3d90136a3636
branches:  netbsd-1-5
changeset: 490344:3d90136a3636
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 14 23:37:22 2000 +0000

description:
Pull up revision 1.96 (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/nfs/nfs_vfsops.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5319543235e6 -r 3d90136a3636 sys/nfs/nfs_vfsops.c
--- a/sys/nfs/nfs_vfsops.c      Thu Dec 14 23:37:18 2000 +0000
+++ b/sys/nfs/nfs_vfsops.c      Thu Dec 14 23:37:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_vfsops.c,v 1.91 2000/06/10 18:27:04 assar Exp $    */
+/*     $NetBSD: nfs_vfsops.c,v 1.91.2.1 2000/12/14 23:37:22 he Exp $   */
 
 /*
  * Copyright (c) 1989, 1993, 1995
@@ -867,7 +867,7 @@
                if (vget(vp, LK_EXCLUSIVE))
                        goto loop;
                error = VOP_FSYNC(vp, cred,
-                   waitfor == MNT_WAIT ? FSYNC_WAIT : 0, p);
+                   waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0, p);
                if (error)
                        allerror = error;
                vput(vp);



Home | Main Index | Thread Index | Old Index