Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/miscfs/syncfs Pull up revision 1.6 (requested by fv...
details: https://anonhg.NetBSD.org/src/rev/fc416f6311ab
branches: netbsd-1-5
changeset: 490323:fc416f6311ab
user: he <he%NetBSD.org@localhost>
date: Thu Dec 14 23:36:16 2000 +0000
description:
Pull up revision 1.6 (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/miscfs/syncfs/sync_subr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 32a094522fca -r fc416f6311ab sys/miscfs/syncfs/sync_subr.c
--- a/sys/miscfs/syncfs/sync_subr.c Thu Dec 14 23:36:14 2000 +0000
+++ b/sys/miscfs/syncfs/sync_subr.c Thu Dec 14 23:36:16 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sync_subr.c,v 1.3.6.1 2000/07/27 02:46:51 mycroft Exp $ */
+/* $NetBSD: sync_subr.c,v 1.3.6.2 2000/12/14 23:36:16 he Exp $ */
/*
* Copyright 1997 Marshall Kirk McKusick. All Rights Reserved.
@@ -183,7 +183,7 @@
if (VOP_ISLOCKED(vp) == 0) {
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
(void) VOP_FSYNC(vp, curproc->p_ucred,
- FSYNC_LAZY, curproc);
+ FSYNC_LAZY, 0, 0, curproc);
VOP_UNLOCK(vp, 0);
}
s = splbio();
Home |
Main Index |
Thread Index |
Old Index