Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 11/12/2000 00:40:14
Module Name:	basesrc
Committed By:	perseant
Date:		Sat Nov 11 22:40:14 UTC 2000

Modified Files:
	basesrc/libexec/lfs_cleanerd: cleanerd.c

Log Message:
Don't hold every segment that is being cleaned in memory in its entirety;
instead, if the segment doesn't have many live blocks, copy them to a
more appropriately sized chunk of memory and release the original.

This should prevent the cleaner from distending itself when cleaning many
segments with only one or two live blocks each, as when using the "-b" option.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 basesrc/libexec/lfs_cleanerd/cleanerd.c

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