[Gluster-devel] What's the correct way to enable direct-IO?

Keiviw keiviw at 163.com
Wed Mar 23 03:04:52 UTC 2016


Hi, 

git-grep tells me there are multiple options in our code base for enabling direct-IO on a gluster volume, at several layers in the translator stack: 
i) use the mount option 'direct-io-mode=enable' 
ii) enable 'network.remote-dio' which is a protocol/client option using volume set command 
iii) enable performance.strict-o-direct which is a performance/write-behind option using volume-set command 
iv) use 'o-direct' option in storage/posix, volume-set on which reports that the option doesn't exist. 

So then the question is - what is a surefire way to get direct-io-like behavior on gluster volume(s)? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160323/8430b22e/attachment.html>


More information about the Gluster-devel mailing list