Source-Changes archive

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

CVS commit: src/libexec/lfs_cleanerd



Module Name:    src
Committed By:   perseant
Date:           Fri May 12 19:35:27 UTC 2006

Modified Files:
        src/libexec/lfs_cleanerd: coalesce.c

Log Message:
Be more careful about checking return value of {m,re}alloc().

In determining when to stop reading segments when counting bytes (-b flag),
total the sizes of the blocks we're actually writing instead of assuming
they are all full blocks: many could be fragments or inode blocks.  This
increases the number of segments per Ifile write, markedly improving the
efficiency of the cleaner in the small file case.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/libexec/lfs_cleanerd/coalesce.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