It would still be downloading the whole file only to write out a new
one.  Rsync writes out a whole new file because it assumes it is doing
so locally.  The source of that new file can be a combination of parts
of the existing file and parts of the remote file but it still writes
the whole thing.  --inplace helps with that somewhat but you will
probably still write all of the file after the first difference.

On 03/14/2018 10:12 AM, Remi Gauvin via rsync wrote:
> On 2018-03-14 10:07 AM, Kevin Korb via rsync wrote:
>> --no-whole-file would only make it even worse.  It would have to read
>> the remote file over the network in order to do the diff then it would
>> write the whole file over the network anyway (--inplace would help a
>> little).  Local copies force --whole-file for a good reason.
>>
>>
> 
> The one possible exception is if the cifs share is mounted over an
> asymmetrical Internet connection.. (ie, the download speed is 10X faster
> than the upload.)
> 
> 
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to