Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 06/05/2007 12:31:36
Module Name:	src
Committed By:	yamt
Date:		Tue Jun  5 12:31:36 UTC 2007

Modified Files:
	src/sys/fs/puffs: puffs_vnops.c
	src/sys/kern: vfs_subr.c
	src/sys/miscfs/genfs: genfs_vnops.c
	src/sys/miscfs/specfs: spec_vnops.c
	src/sys/nfs: nfs_bio.c
	src/sys/sys: vnode.h
	src/sys/ufs/ext2fs: ext2fs_inode.c ext2fs_readwrite.c ext2fs_vfsops.c
	src/sys/ufs/ffs: ffs_inode.c ffs_vnops.c
	src/sys/ufs/lfs: lfs_inode.c
	src/sys/ufs/ufs: ufs_readwrite.c
	src/sys/uvm: uvm_bio.c uvm_extern.h uvm_vnode.c

Log Message:
improve post-ubc file overwrite performance in common cases.
ie. when it's safe, actually overwrite blocks rather than doing
read-modify-write.

also fixes PR/33152 and PR/36303.


To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -r1.287 -r1.288 src/sys/kern/vfs_subr.c
cvs rdiff -r1.153 -r1.154 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.98 -r1.99 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.154 -r1.155 src/sys/nfs/nfs_bio.c
cvs rdiff -r1.168 -r1.169 src/sys/sys/vnode.h
cvs rdiff -r1.58 -r1.59 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -r1.46 -r1.47 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.110 -r1.111 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.86 -r1.87 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -r1.87 -r1.88 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -r1.109 -r1.110 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.78 -r1.79 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.57 -r1.58 src/sys/uvm/uvm_bio.c
cvs rdiff -r1.129 -r1.130 src/sys/uvm/uvm_extern.h
cvs rdiff -r1.81 -r1.82 src/sys/uvm/uvm_vnode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.