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

--- Comment #5 from Коренберг Марк <socketp...@gmail.com> ---
Fallocated: areas of the file that has been fallocate()d, but stillnot written.
Technically, on sender, even written parts that was written, but contain zeroes
may be considered as fallocated areas. I mean that receiver should call
fallocate() on that region instead writing zeroes.

How to determine: How to determine if area is alocated: lseek() +
SEEK_DATA/SEEK_HOLE. And after that, check if non-sparse area contains zeroes.
Another way - is to examine fiemap (
https://www.kernel.org/doc/Documentation/filesystems/fiemap.txt )

-- 
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