Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/ufs/ext2fs Pull up revision 1.39 (requested by fvdl):



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

description:
Pull up revision 1.39 (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/ufs/ext2fs/ext2fs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b79b8b542e4c -r e3210c5898bd sys/ufs/ext2fs/ext2fs_vfsops.c
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c    Thu Dec 14 23:36:26 2000 +0000
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c    Thu Dec 14 23:36:29 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs_vfsops.c,v 1.36.2.2 2000/07/24 20:21:46 jdolecek Exp $  */
+/*     $NetBSD: ext2fs_vfsops.c,v 1.36.2.3 2000/12/14 23:36:29 he Exp $        */
 
 /*
  * Copyright (c) 1997 Manuel Bouyer.
@@ -791,7 +791,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);
@@ -803,7 +803,7 @@
        if (waitfor != MNT_LAZY) {
                vn_lock(ump->um_devvp, LK_EXCLUSIVE | LK_RETRY);
                if ((error = VOP_FSYNC(ump->um_devvp, cred,
-                   waitfor == MNT_WAIT ? FSYNC_WAIT : 0, p)) != 0)
+                   waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0, p)) != 0)
                        allerror = error;
                VOP_UNLOCK(ump->um_devvp, 0);
        }



Home | Main Index | Thread Index | Old Index