File fragmentation

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


On 8/25/06, Matt McCutchen <hashproduct+rsync at gmail.com> 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.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preallocate.diff
Type: text/x-patch
Size: 1262 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20060825/a3cbd76b/preallocate.bin


More information about the rsync mailing list