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

Krutika Dhananjay kdhananj at redhat.com
Thu Feb 25 01:58:30 UTC 2016


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/20160224/97283412/attachment.html>

More information about the Gluster-devel mailing list