Subject: CVS commit: src/sys/ufs/lfs
To: None <>
From: Konrad Schroder <>
List: source-changes
Date: 03/08/2003 04:55:53
Module Name:	src
Committed By:	perseant
Date:		Sat Mar  8 02:55:52 UTC 2003

Modified Files:
	src/sys/ufs/lfs: lfs.h lfs_extern.h lfs_segment.c lfs_subr.c
	    lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

Log Message:
Add an lfs_strategy() that checks to make sure we're not trying to read
where the cleaner is trying to write, instead of tying up the "live"
buffers (or pages).

Fix a bug in the LFS_UBC case where oversized buffers would not be
checksummed correctly, causing uncleanable segments.

Make sure that wakeup(fs->lfs_iocount) is done if fs->lfs_iocount is 1
as well as 0, since we wait in some places for it to drop to 1.

Activate all pages that make it into lfs_gop_write without the segment
lock held, since they must have been dirtied very recently, even if
PG_DELWRI is not set.

To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.44 -r1.45 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -r1.106 -r1.107 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.35 -r1.36 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -r1.84 -r1.85 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.102 -r1.103 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.93 -r1.94 src/sys/ufs/lfs/lfs_vnops.c

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