Subject: CVS commit: src/sys/ufs/lfs
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 03/11/2003 04:47:42
Module Name:	src
Committed By:	perseant
Date:		Tue Mar 11 02:47:42 UTC 2003

Modified Files:
	src/sys/ufs/lfs: lfs.h lfs_segment.c lfs_subr.c

Log Message:
- Get rid of unused #ifdefs LFS_NO_PAGEMOVE and LFS_MALLOC_SUMMARY (both
  always true) and accompanying dead code.

- When constructing write clusters in lfs_writeseg, if the block we are
  about to add is itself a cluster from GOP_WRITE, don't put a cluster
  in a cluster, just write the GOP_WRITE cluster on its own.  This seems
  to represent a slight performance gain on my test machine.

- Charge someone's rusage for writes on LFSes.  It's difficult to tell
  who the "right" process to charge is; just charge whoever triggered
  the write.


To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.108 -r1.109 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.36 -r1.37 src/sys/ufs/lfs/lfs_subr.c

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