rsync -append "chunk" size

Wayne Davison wayned at samba.org
Sat Sep 28 19:23:04 CEST 2013


On Tue, Sep 3, 2013 at 1:44 AM, Marcin Polkowski <marcin at marcinpolkowski.com
> wrote:

>  I‘m transferring 1.1 Mb files over very poor GSM EDGE connection. My
> rsync command is:
>
[... using --append ...]

> File on remote server “grows” in size in steps of 262144 bytes.
>

This is apparently due to the in-place code (which --append uses) not
setting any cleanup flags for the transferred files, and thus all the
cached data that has accumulated in the file buffer is never flushed.  I'm
checking in a change that will improve the cleanup code to support in-place
files (which will go out with 3.1.0).

In the meantime, if you want to just tweak your 3.0.7 version, edit the
fileio.c file and change the line "wf_writeBufSize = WRITE_SIZE * 8;" to
set just WRITE_SIZE (not * 8).

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


More information about the rsync mailing list