preallocate CPU usage - pre4

Rob Bosch robbosch at
Sat Feb 23 23:34:20 GMT 2008

I took a stab at modifying the preallocate.diff patch file replacing it with
ftruncate (attached).  Do you think the file looks OK for Linux (obviously
cygwin should use posix_fallocate)?  I replaced posix_fallocate with
ftruncate and also removed the check for HAVE_POSIX_FALLOCATE. 

Maybe this should be preallocate-linux.diff? 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: preallocate.diff
Type: application/octet-stream
Size: 10388 bytes
Desc: not available
Url :

More information about the rsync mailing list