[Bug 11588] missing option: preallocate for all files except for sparse

samba-bugs at samba.org samba-bugs at samba.org
Sat Oct 8 18:18:13 UTC 2016


https://bugzilla.samba.org/show_bug.cgi?id=11588

--- Comment #7 from Wayne Davison <wayned at samba.org> ---
Created attachment 12556
  --> https://bugzilla.samba.org/attachment.cgi?id=12556&action=edit
Preliminary patch to support punching holes

In my testing, using both a pre-allocate call on a file followed by a
hole-punch call has no effect on the allocation of the blocks (though it does
zero them).

I tested --sparse and --inplace with this, and it worked fine on one system
(with a new enough linux kernel). There are cases where the sparseness will be
lost, though, depending on OS & filesystem.  I'm thinking we just update the
docs to mention that if you combine --sparse with --inplace (and/or
--preallocate) that you might not get the sparseness preserved.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list