Subject: PR/30868 CVS commit: src/sys/fs/msdosfs
To: None <,,>
From: Juan Romero Pardines <>
List: netbsd-bugs
Date: 09/22/2006 17:50:03
The following reply was made to PR kern/30868; it has been noted by GNATS.

From: Juan Romero Pardines <>
Subject: PR/30868 CVS commit: src/sys/fs/msdosfs
Date: Fri, 22 Sep 2006 17:45:21 +0000 (UTC)

 Module Name:	src
 Committed By:	xtraeme
 Date:		Fri Sep 22 17:45:21 UTC 2006
 Modified Files:
 	src/sys/fs/msdosfs: denode.h msdosfs_fat.c msdosfs_vnops.c
 Log Message:
 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.14 src/sys/fs/msdosfs/denode.h
 cvs rdiff -r1.10 -r1.11 src/sys/fs/msdosfs/msdosfs_fat.c
 cvs rdiff -r1.30 -r1.31 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.