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 found

[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

Re: [Gluster-devel] How to enable DIRECT IO?

2016-03-22 Thread Keiviw
t;Raghavendra Gowdappa" wrote: > > >- Original Message - >> From: "Keiviw" >> To: gluster-devel@gluster.org >> Sent: Tuesday, March 22, 2016 1:18:18 PM >> Subject: [Gluster-devel] How to enable DIRECT IO? >> >> hi, >> In the

Re: [Gluster-devel] How to enable DIRECT IO?

2016-03-22 Thread Raghavendra Gowdappa
- Original Message - > From: "Keiviw" > To: gluster-devel@gluster.org > Sent: Tuesday, March 22, 2016 1:18:18 PM > Subject: [Gluster-devel] How to enable DIRECT IO? > > hi, > In the glusterfs client, execute "mount -t glusterfs volumename -o > di

[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-devel mailing li