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:33:02 UTC 2006

Modified Files:
        src/libexec/lfs_cleanerd: cleaner.h cleansrv.c fdfs.c lfs_cleanerd.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.1 -r1.2 src/libexec/lfs_cleanerd/cleaner.h \
    src/libexec/lfs_cleanerd/cleansrv.c
cvs rdiff -r1.2 -r1.3 src/libexec/lfs_cleanerd/fdfs.c
cvs rdiff -r1.6 -r1.7 src/libexec/lfs_cleanerd/lfs_cleanerd.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