[PATCH] Prefer fallocate if available, and use posix_fallocate only on Cygwin.

Wayne Davison wayned at samba.org
Sun Feb 24 14:28:01 GMT 2008


On Sat, Feb 23, 2008 at 10:49:25PM -0500, Matt McCutchen wrote:
> This change on top of the current preallocate branch implements the
> behavior I described of using fallocate if available (Linux syscall that
> uses filesystem-level preallocation support) or otherwise
> posix_fallocate if on Cygwin.

Very nice.  I added it to the preallocate branch and updated the patch.
Thanks!

..wayne..


More information about the rsync mailing list