Subject: CVS commit: src/sys/ufs
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 05/22/2005 08:35:28
Module Name:	src
Committed By:	hannken
Date:		Sun May 22 08:35:28 UTC 2005

Modified Files:
	src/sys/ufs/ffs: ffs_alloc.c ffs_snapshot.c
	src/sys/ufs/ufs: ufsmount.h

Log Message:
ffs/ffs_alloc.c:
- Add a missing ACTIVECG_CLR().

ffs/ffs_snapshot.c:
- Use async/delayed writes for snapshot creation and sync/uncache these buffers
  on end. Reduces the time the file system must be suspended.
- Remove um_snaplistsize. Was a duplicate of um_snapblklist[0].
- Byte swap the list of preallocated blocks on read/write instead of access.
- Always keep this list on ip->i_snapblklist so it may be rolled back when the
  newest snapshot gets removed. Fixes a rare snapshot corruption when using
  more than one snapshot on a file system.

ufs/ufsmount.h:
  - Make TAILQ_LAST() possible on member um_snapshots.
  - Remove um_snaplistsize. Was a duplicate of um_snapblklist[0].


To generate a diff of this commit:
cvs rdiff -r1.81 -r1.82 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -r1.14 -r1.15 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.17 -r1.18 src/sys/ufs/ufs/ufsmount.h

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