Subject: CVS commit: src/sys/ufs
To: None <source-changes@NetBSD.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 04/19/2005 20:59:05
Module Name:	src
Committed By:	perseant
Date:		Tue Apr 19 20:59:05 UTC 2005

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

Log Message:
Keep per-inode, per-fs, and subsystem-wide counts of blocks allocated through
lfs_balloc(), and use that to estimate the number of dirty pages belonging
to LFS (subsystem or filesystem).  This is almost certainly wrong for
the case of a large mmap()ed region, but the accounting is tighter than
what we had before, and performs much better in the typical case of pages
dirtied through write().


To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.81 -r1.82 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -r1.55 -r1.56 src/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.83 -r1.84 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.161 -r1.162 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.175 -r1.176 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.146 -r1.147 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.62 -r1.63 src/sys/ufs/ufs/ufs_readwrite.c

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