[Bug 11588] better handling for --preallocate with --sparse

samba-bugs at samba.org samba-bugs at samba.org
Sat Oct 8 20:10:52 UTC 2016


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

--- Comment #8 from Andrey Gursky <andrey.gursky at e-mail.ua> ---
(In reply to Wayne Davison from comment #7)
Wayne,

since this bug made rsync unusable for me, I fixed that and implemented
additional checks needed for ext4 a month or two after I reported this bug and
saw no reaction at all. Now a couple of people got interested and you also, so
I can share my work. It's not tiny.

> 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).
Yes, this is tricky. Hole-punch works only for full filesystem blocks (e.g.,
default 4K). Issuing few partial hole-punch requests wouldn't work, even if
they cover the whole block.

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



More information about the rsync mailing list