Subject: CVS commit: [netbsd-4] src/sys/fs/msdosfs
To: None <source-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: source-changes
Date: 09/23/2006 09:25:38
Module Name: src
Committed By: ghen
Date: Sat Sep 23 09:25:38 UTC 2006
Modified Files:
src/sys/fs/msdosfs [netbsd-4]: denode.h msdosfs_fat.c msdosfs_vnops.c
Log Message:
Pull up following revision(s) (requested by xtraeme in ticket #206):
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.13 -r1.13.6.1 src/sys/fs/msdosfs/denode.h
cvs rdiff -r1.10 -r1.10.6.1 src/sys/fs/msdosfs/msdosfs_fat.c
cvs rdiff -r1.30 -r1.30.2.1 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.