There are two things you need to change for o-direct to be handled properly in gluster stack:
1) gluster volume set <volname> performance.strict-o-direct onOn Fri, Jun 17, 2016 at 7:04 PM, Keiviw <keiviw@xxxxxxx> wrote:
By "mount -t glusterfs XXXX:/testvol -o direct-io-mode=true mountpoint",the GlusterFS client will enable the direct io, and the file will not cached in the GlusterFS client,but it won't work in the GlusterFS server. By defalut,the GlusterFS will ignore the direct io flag. How to make the server work in direct-io-mode??
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel
--
Pranith
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel