Source-Changes-HG archive

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

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



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

description:
Pull up revision 1.70 (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/msdosfs/msdosfs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 02a200c4e999 -r bb692d73a977 sys/msdosfs/msdosfs_vfsops.c
--- a/sys/msdosfs/msdosfs_vfsops.c      Thu Dec 14 23:36:22 2000 +0000
+++ b/sys/msdosfs/msdosfs_vfsops.c      Thu Dec 14 23:36:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_vfsops.c,v 1.69 2000/04/03 18:12:12 jdolecek Exp $     */
+/*     $NetBSD: msdosfs_vfsops.c,v 1.69.4.1 2000/12/14 23:36:24 he Exp $       */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -909,7 +909,7 @@
                        continue;
                }
                if ((error = VOP_FSYNC(vp, cred,
-                   waitfor == MNT_WAIT ? FSYNC_WAIT : 0, p)) != 0)
+                   waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0, p)) != 0)
                        allerror = error;
                vput(vp);
                simple_lock(&mntvnode_slock);
@@ -919,7 +919,7 @@
         * Force stale file system control information to be flushed.
         */
        if ((error = VOP_FSYNC(pmp->pm_devvp, cred,
-           waitfor == MNT_WAIT ? FSYNC_WAIT : 0, p)) != 0)
+           waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0, p)) != 0)
                allerror = error;
 #ifdef QUOTA
        /* qsync(mp); */



Home | Main Index | Thread Index | Old Index