preallocate CPU usage - pre4
robbosch at msn.com
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...
Size: 10388 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20080223/154f87c1/preallocate.obj
More information about the rsync