Wayne Davison wrote: > On Sun, Feb 24, 2008 at 04:29:17PM +0000, Jamie Lokier wrote: > > When compiled on a Linux system which doesn't have SYS_fallocate > > (because it doesn't have a very recent kernel), but does have > > posix_fallocate (because Glibc has had it for a while), I think that > > patch will call Glibc's very slow function. > > No, it only uses posix_fallocate() on Cygwin at present (see the > configure test for an efficient posix_fallocate() that only passes > for Cygwin systems). My Linux system does not have SYS_fallocate > available, and the --preallocate option is disabled.
Ah, I didn't notice that part of the test. Thanks for getting it right :-) -- Jamie -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html