On 10-05-2015 7:30, Niels de Vos wrote:
[...] This shows two read calls over the network: 1. offset: 0; size: 131072 2. offset: 131072; size: 131072 There are no lseek() requests for SEEK_HOLE/SEEK_DATA sent over the network. Looking into the operations (FOPs) that are available to the Gluster xlators, it seems that there is no lseek() FOP. For normal lseek() requests, the position of the file-descriptor is kept client-side, so there is no need for the server to support it. However, for SEEK_HOLE/SEEK_DATA, the server needs to do some actions. For all I can see there is currently no support for SEEK_HOLE/SEEK_DATA in Gluster, but it seems not too difficult to add.
Thanks for confirming.
Please file a feature request in Bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&component=core&keywords=FutureFeature
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1220173
Do you have an interest do implement this, or could it be a project that we can give to new contributors that would like to develop something for Gluster?
Right now, I'm more interested in improving oVirt's gluster support. I will start another thread... _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel