Subject: CVS commit: [netbsd-3] src/sys/fs/msdosfs
To: None <source-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: source-changes
Date: 10/06/2006 19:42:51
Module Name: src
Committed By: ghen
Date: Fri Oct 6 19:42:51 UTC 2006
Modified Files:
src/sys/fs/msdosfs [netbsd-3]: denode.h msdosfs_fat.c msdosfs_vnops.c
Log Message:
Pull up following revision(s) (requested by xtraeme in ticket #1525):
sys/fs/msdosfs/denode.h: revision 1.14
sys/fs/msdosfs/msdosfs_vnops.c: revision 1.31
sys/fs/msdosfs/msdosfs_fat.c: revision 1.11
Apply patch from PR kern/34583 sent by Rhialto, quoting him:
"Add a 3rd entry in the cache, which keeps the end position
from just before extending a file.
This has the desired effect of keeping the write speed constant."
And yes, that helps a lot copying large files... always at full speed
now. This closes my PR kern/30868 "Poor performance copying large files
on msdosfs".
Also remove a 2 if-statements testing the same condition, combine them.
All that from Rhialto, thank you very much.
To generate a diff of this commit:
cvs rdiff -r1.4.14.3 -r1.4.14.4 src/sys/fs/msdosfs/denode.h
cvs rdiff -r1.4 -r1.4.2.1 src/sys/fs/msdosfs/msdosfs_fat.c
cvs rdiff -r1.14.2.2 -r1.14.2.3 src/sys/fs/msdosfs/msdosfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.