Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/libexec/lfs_cleanerd



Module Name:    basesrc
Committed By:   perseant
Date:           Fri Jun 14 00:58:40 UTC 2002

Modified Files:
        basesrc/libexec/lfs_cleanerd: clean.h cleanerd.c coalesce.c library.c

Log Message:
Don't try to coalesce files that have fewer than NDADDR blocks, due to
a potential problem with cleaning fragments at all.

Better sanity checks when selecting files to coalesce; in particular don't
shift too far left when comparing the number of discontinuities to the log2
of the number of total blocks.

Better log messages: note beginning of coalescing correctly; also take
the log message from add_segment out of "if (debug)" for symmetry with the
"finished segment" message.

Use lfs_bmapv to find the inode, rather than looking it up manually in
the ifile; this should give more up-to-date information, since trolling
through every inode in the fs could take some time.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 basesrc/libexec/lfs_cleanerd/clean.h
cvs rdiff -r1.38 -r1.39 basesrc/libexec/lfs_cleanerd/cleanerd.c
cvs rdiff -r1.1 -r1.2 basesrc/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -r1.27 -r1.28 basesrc/libexec/lfs_cleanerd/library.c

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




Home | Main Index | Thread Index | Old Index