commit 0b5da8d: fuse: add support for SEEK_HOLE and SEEK_DATA in lseek
Hi Ravishankar,
In commit 0b5da8d you added support for a new FUSE_LSEEK operation. However, as far as I can tell the corresponding userspace code never landed in libfuse.
Do you have a corresponding patch for libfuse?
Looking at the commit message, I assume this functionality was added specifically for glusterfs which presumably does not use libfuse. But even in that case it would be nice if you could Cc [email protected] so that someone else can add support for this. This is important because AFAIR the libfuse documentation is the only thing that comes close to an official documentation of the FUSE API.
Best,
-Nikolaus
Signature · 4 lines
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«Hi Nikolaus,
Quoted 7 lines · Nikolaus Rath
Hi Ravishankar,
In commit 0b5da8d you added support for a new
FUSE_LSEEKoperation. However, as far as I can tell the corresponding userspace code never landed in libfuse.Do you have a corresponding patch for libfuse?
No, unfortunately. I only used gluster to test what I wrote.
Quoted 3 lines
Looking at the commit message, I assume this functionality was added specifically for glusterfs which presumably does not use libfuse.
You're right, gluster has its own code [1].
Quoted 3 lines
But
even in that case it would be nice if you could Cc [email protected]
The discussion[2] actually did start on fuse-devel.
Quoted 1 line
so that someone else can add support
That would be great.
Quoted 4 lines
for this. This is important because AFAIR the libfuse documentation is the only thing that comes close to an official documentation of the FUSE API.
Best regards,
Ravi
[1] https://github.com/gluster/glusterfs/blob/master/xlators/mount/fuse/src/fuse-bridge.c
[2] https://sourceforge.net/p/fuse/mailman/message/34227449/
Quoted 3 lines
Best,
-Nikolaus