[RFC] add support for fallocate()

Wayne Davison wayned at samba.org
Sat Feb 13 10:49:03 MST 2010


On Fri, Feb 12, 2010 at 1:08 PM, Sebastian Andrzej Siewior
<sebastian at breakpoint.cc> wrote:

> fallocate() is linux specific and will preallocate the space on disk for
> the entire file.
>

Check out the preallocate.diff in the rsync patches -- it adds an option
that lets you choose to preallocate (you can browse the patches on the web
if you click on one of the "tree view" links on the download page of the
rsync website).  The --preallocate option will probably be added to 3.1.0
soon -- I think the patch is in good shape now.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100213/11cfb37e/attachment.html>


More information about the rsync mailing list