Support for uncompressed sparse files.

Pratik Shinde pratikshinde320 at gmail.com
Sun Nov 17 21:10:43 AEDT 2019


Hello Gao,

I have started working on above functionality for erofs.
First thing we need to do is detect sparse files & determine location of
holes in it.

I was thinking of using lseek() with SEEK_HOLE & SEEK_DATA for detecting
holes.
Let me know what you think about the approach OR any other better approach
in your mind.

PS : support for SEEK_HOLE & SEEK_DATA came in 3.4 kernel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20191117/4f926e62/attachment.htm>


More information about the Linux-erofs mailing list