Andreas Klauer <andreas.kla...@googlemail.com> added the comment:

> ZFS supports SEEK_HOLE/SEEK_DATA in "lseek()" syscall.
> The feature has patches available too for Linux, but never integrated in 
> mainline kernel, AFAIK.
> it is difficult to write a testcase when I can only test under a system with 
> ZFS

I don't know if this could help, but recently Linux did get some commits 
regarding SEEK_HOLE/SEEK_DATA ( e.g. 
http://git.kernel.org/linus/982d816581eeeacfe5b2b7c6d47d13a157616eff ). I 
haven't tested whether it works / which filesystems support it. Grepping the 
Linux sources for SEEK_HOLES gives me several hits, e.g. for btrfs.

----------
nosy: +Andreas.Klauer

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10142>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to