rsync of a reflink from OCFS2
Kevin Korb
kmk at sanitarium.net
Wed Mar 14 14:29:05 UTC 2018
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. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20180314/605f8a77/signature.sig>
More information about the rsync
mailing list