linux-erofs.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Support for uncompressed sparse files.
@ 2019-11-17 10:10 Pratik Shinde
  2019-11-17 17:30 ` Gao Xiang via Linux-erofs
  0 siblings, 1 reply; 4+ messages in thread
From: Pratik Shinde @ 2019-11-17 10:10 UTC (permalink / raw)
  To: Gao Xiang, Gao Xiang; +Cc: linux-erofs

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 547 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-24 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 10:10 Support for uncompressed sparse files Pratik Shinde
2019-11-17 17:30 ` Gao Xiang via Linux-erofs
2019-11-24 18:30   ` Pratik Shinde
2019-11-24 19:10     ` Gao Xiang via Linux-erofs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).