[Bug 8740] New: compress ("-z") should be ignored if both src and dst are local

samba-bugs at samba.org samba-bugs at samba.org
Thu Feb 2 10:33:38 MST 2012


https://bugzilla.samba.org/show_bug.cgi?id=8740

           Summary: compress ("-z") should be ignored if both src and dst
                    are local
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: mailinglists35 at gmail.com
         QAContact: rsync-qa at samba.org


I once read the manual and remembered my favorite combination of parameters,
which includes "-z"
A couple of days ago I manually started a rsync copy between a local source and
a local destination. Today after screen -x I discovered the rsync is still
running and taking 95% of the cpu. After a bit of wtf'ing around I finally
carefully looked at rsync parameters and noticed my "-z" parameter.

Stopping rsync and restarting without compression brought disk traffic back to
expected.

Truth is I never expected compression to be enabled when copying from local to
local: why would rsync activate compression if both source and destinations are
local, anyway?

A default behaviour to match this expectation would probably save others.

Thanks.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list