Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 10/07/2007 13:39:05
Module Name:	src
Committed By:	hannken
Date:		Sun Oct  7 13:39:05 UTC 2007

Modified Files:
	src/distrib/sets/lists/comp: mi
	src/share/man/man9: Makefile fstrans.9 vnsubr.9
	src/sys/dev: fss.c fssvar.h
	src/sys/kern: vfs_subr.c vfs_trans.c vfs_vnops.c
	src/sys/miscfs/specfs: spec_vnops.c specdev.h
	src/sys/rump/librump/rumpkern: fstrans_stub.c
	src/sys/sys: fstrans.h param.h
	src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Update the file system copy-on-write handler.

- Instead of hooking the handler on the specdev of a mounted file system
  hook directly on the `struct mount'.

- Rename from `vn_cow_*' to `fscow_*' and move to `kern/vfs_trans.c'.  Use
  `mount_*specific' instead of clobbering `struct mount' or `struct specinfo'.

- Replace the hand-made reader/writer lock with a krwlock.

- Keep `vn_cow_*' functions and mark as obsolete.

- Welcome to NetBSD 4.99.32 - `struct specinfo' changed size.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>


To generate a diff of this commit:
cvs rdiff -r1.1070 -r1.1071 src/distrib/sets/lists/comp/mi
cvs rdiff -r1.249 -r1.250 src/share/man/man9/Makefile
cvs rdiff -r1.8 -r1.9 src/share/man/man9/fstrans.9
cvs rdiff -r1.30 -r1.31 src/share/man/man9/vnsubr.9
cvs rdiff -r1.34 -r1.35 src/sys/dev/fss.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/fssvar.h
cvs rdiff -r1.300 -r1.301 src/sys/kern/vfs_subr.c
cvs rdiff -r1.11 -r1.12 src/sys/kern/vfs_trans.c
cvs rdiff -r1.140 -r1.141 src/sys/kern/vfs_vnops.c
cvs rdiff -r1.105 -r1.106 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.32 -r1.33 src/sys/miscfs/specfs/specdev.h
cvs rdiff -r1.1 -r1.2 src/sys/rump/librump/rumpkern/fstrans_stub.c
cvs rdiff -r1.5 -r1.6 src/sys/sys/fstrans.h
cvs rdiff -r1.275 -r1.276 src/sys/sys/param.h
cvs rdiff -r1.50 -r1.51 src/sys/ufs/ffs/ffs_snapshot.c

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