[Bug 10233] rsync is spending a lot of time lstat64()'ing --exclude'd files

samba-bugs at samba.org samba-bugs at samba.org
Thu Nov 28 10:29:52 MST 2013


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

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Severity|normal                      |enhancement

--- Comment #2 from Wayne Davison <wayned at samba.org> 2013-11-28 17:29:51 UTC ---
Rsync wants to know if it is a file or a directory before applying the exclude
rules, or it wouldn't have enough information for dir-only exclude rules.  It
might be possible to make the stat call lazy, where the first dir-only rule to
match the name checks if the file-type is known, and does a stat if it is not. 
However, that might over complicate things.  I'm marking this as an enhancement
request.

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