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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


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.
-- 
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