File fragmentation

Matt McCutchen hashproduct+rsync at
Sat Aug 26 01:31:46 GMT 2006

On 8/25/06, Matt McCutchen <hashproduct+rsync at> wrote:
> So rsync's configure script should check for posix_fallocate, and the receiver
> should call it just after opening each received file.  I might write a
> patch for this.

And attached is the patch.  Rob, would you please test it and see if
it reduces fragmentation?  After you apply the patch to a copy of
rsync, you must run autoconf, autoheader, and ./configure to make the
change to take effect.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: preallocate.diff
Type: text/x-patch
Size: 1262 bytes
Desc: not available
Url :

More information about the rsync mailing list