[Gluster-users] Enterprise Application with O_DIRECT access

Anand Avati anand.avati at gmail.com
Mon Feb 13 04:57:43 UTC 2012


On Fri, Feb 10, 2012 at 9:23 PM, Adrian <a.ionescu at student.vu.nl> wrote:
>> Amar Tumballi wrote:
>> > With glusterfs patched fuse you should be able to work fine with
>> > O_DIRECT flag. The default stock kernel module doesn't support it.
>
> Hi guys!
>
> I'm also facing the same problem... Have you found any solution?
> Amar, what version of Fuse do you refer to, that should support working with the
> O_DIRECT flag? I have tried with the glusterfs-fuse-3.2.5 package and it does
> not seem to work.
>
> I would greatly appreciate your help!

Support for O_DIRECT in fuse is a work still in progress (patches are
under review/resubmit in fuse-devel and linux-fsdevel). You can use
liboindirect (https://github.com/avati/liboindirect) as a temporary
workaround in case you cannot modify your application to not use
O_DIRECT and you cannot wait till the native support is ready.

Avati



More information about the Gluster-users mailing list