On Wed, 2010-02-10 at 11:34 +0100, Paul Slootman wrote:
> On Tue 09 Feb 2010, Matt McCutchen wrote:
> > 
> > The number of files that rsync tries to maintain in the active file
> > lists at one time is controlled by {MIN,MAX}_FILECNT_LOOKAHEAD in
> > rsync.h.  I did some tests with "ulimit -v", and reducing those values
> > helped significantly.  That still may not be enough to fit rsync into 32
> > MB.
> 
> If you're also preserving hard links (-H), then rsync also needs to
> remember each file that's hardlinked (until link_count entries have been
> seen, assumedly).

There is currently no check to forget files once all of their hard links
have been seen.

Note that when --copy-links is used to make the same dentry show up
multiple places in the source, this check (as well as the initial check
that st_nlink > 1) would not be desirable:

http://lists.samba.org/archive/rsync/2009-May/023201.html

-- 
Matt

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