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/ffs Pull up revision 1.22 (requested by fvdl):
details: https://anonhg.NetBSD.org/src/rev/203f335d008f
branches: netbsd-1-5
changeset: 490330:203f335d008f
user: he <he%NetBSD.org@localhost>
date: Thu Dec 14 23:36:34 2000 +0000
description:
Pull up revision 1.22 (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/ffs/ffs_balloc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 777aa4c808bc -r 203f335d008f sys/ufs/ffs/ffs_balloc.c
--- a/sys/ufs/ffs/ffs_balloc.c Thu Dec 14 23:36:31 2000 +0000
+++ b/sys/ufs/ffs/ffs_balloc.c Thu Dec 14 23:36:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_balloc.c,v 1.20 2000/05/29 16:28:27 mycroft Exp $ */
+/* $NetBSD: ffs_balloc.c,v 1.20.2.1 2000/12/14 23:36:34 he Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -360,7 +360,7 @@
* occurence. The error return from fsync is ignored as we already
* have an error to return to the user.
*/
- (void) VOP_FSYNC(vp, cred, FSYNC_WAIT, curproc);
+ (void) VOP_FSYNC(vp, cred, FSYNC_WAIT, 0, 0, curproc);
for (deallocated = 0, blkp = allociblk; blkp < allocblk; blkp++) {
ffs_blkfree(ip, *blkp, fs->fs_bsize);
deallocated += fs->fs_bsize;
@@ -402,6 +402,6 @@
ip->i_ffs_blocks -= btodb(deallocated);
ip->i_flag |= IN_CHANGE | IN_UPDATE;
}
- (void) VOP_FSYNC(vp, cred, FSYNC_WAIT, curproc);
+ (void) VOP_FSYNC(vp, cred, FSYNC_WAIT, 0, 0, curproc);
return (error);
}
Home |
Main Index |
Thread Index |
Old Index