Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 06/15/1999 15:33:49
Module Name:	basesrc
Committed By:	perseant
Date:		Tue Jun 15 22:33:49 UTC 1999

Modified Files:

	basesrc/libexec/lfs_cleanerd: cleanerd.c

Log Message:

The cleaner now marks empty segments clean without having to read their
contents, a substantial optimization if the work load is right: if enough
empty segments are available, the cleaner never has to read or write *any*
blocks except those on the Ifile.  When the cleaner wakes up it marks all
empty segments clean before deciding whether any further segments need to
be cleaned.

Fixed overflow bugs in the cleaner's handling of the cost/benefit metric
for empty segments.


--
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 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.