Re: [Gluster-devel] How to enable direct io??

2016-06-21 Thread Pranith Kumar Karampuri
There are two things you need to change for o-direct to be handled properly in gluster stack: 1) gluster volume set performance.strict-o-direct on on nfs this option is gluster volume set performance.nfs.strict-o-direct on 2) gluster volume set network.remote-dio off Please note that we

[Gluster-devel] How to enable direct io??

2016-06-17 Thread Keiviw
By "mount -t glusterfs :/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

[Gluster-devel] How to enable DIRECT IO?

2016-03-22 Thread Keiviw
hi, In the glusterfs client, execute "mount -t glusterfs volumename -o direct-io-mode=enable mountpoint". Does it mean that the client reads or writes the cluster files in the way of DIRECT IO? If not,how to enable DIRECT IO?_______ Gluster-dev