[Bugs] [Bug 1301332] New: improve sparse file handling by supporting SEEK_HOLE / SEEK_DATA
bugzilla at redhat.com
bugzilla at redhat.com
Sun Jan 24 10:20:24 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1301332
Bug ID: 1301332
Summary: improve sparse file handling by supporting SEEK_HOLE /
SEEK_DATA
Product: nfs-ganesha
Component: GlusterFS FSAL
Keywords: FutureFeature
Assignee: bugs at gluster.org
Reporter: ndevos at redhat.com
CC: jthottan at redhat.com
Depends On: 1220173
Description of problem:
NFSv4 supports SEEK_HOLE and SEEK_DATA and this can improve the handling of
sparse files (like virtual machine images) a lot. Gluster is going to support
this soon too, see bug 1220173 for more details.
Steps to Reproduce:
1. create a sparse file on a NFSv4 mountpoint (use 'qemu-img')
2. copy the sparse file from the NFSv4 mount to somewhere (use 'cp')
3. compare the allocated space of the two files
Actual results:
The copy is fully allocated.
Expected results:
The copy should have holes as well.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1220173
[Bug 1220173] SEEK_HOLE support (optimization)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list