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

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

Log Message:
Add simple_lock protection for lfs_seglock and lfs_subsys_pages; these will
be expanded to cover other per-fs and subsystem-wide data as well.

Fix a case of IN_MODIFIED being set without updating lfs_uinodes, resulting
in a "lfs_uinodes < 0" panic.

Fix a deadlock in lfs_putpages arising from the need to busy all pages in a
block; unbusy any that had already been busied before starting over.

To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.64 -r1.65 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -r1.38 -r1.39 src/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.63 -r1.64 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.110 -r1.111 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.37 -r1.38 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -r1.86 -r1.87 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.104 -r1.105 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.95 -r1.96 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.