strange log values in 3.1

Wayne Davison wayned at samba.org
Sun Oct 25 23:33:37 MDT 2009


On Sun, Oct 25, 2009 at 6:26 PM, Carlos Carvalho <carlos at fisica.ufpr.br>wrote:

> All files are new. What I find strange is that I'd expect the transfered
> bytes to be somewhat larger than the file sizes
>

Yeah, there are two problems.  One was that the %b modifier requires
late-logging (after the transfer finishes), and the log-format scanner
hadn't been updated to understand apostrophes, so it wouldn't find %'b.  If
nothing else triggered the after-the transfer output, you would have seen
some constant value (like 0) for every file.  The second issue is the reason
you saw several files at 0 followed by some too-big numbers: the %b and %c
routines are outputting differences in stats read/written values, and the
newest I/O code counts these bytes as they are read/written from/to the
socket, so the buffering gets in the way of the per-files stats.

I've checked in a fix for the apostrophe issue, and am working up a fix for
the per-transfer stats.  Thanks for the report!

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091025/c6fcfd62/attachment.html>


More information about the rsync mailing list