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

--- Comment #7 from Wayne Davison <way...@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.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to