Search the archives but I&#39;m pretty sure directio doesn&#39;t work over fuse without some patches.<div><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 5:11 AM, Ionescu, A. <span dir="ltr">&lt;<a href="mailto:a.ionescu@student.vu.nl">a.ionescu@student.vu.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Dear GlusterFS users,<br>
<br>
We are trying to use some C programs that rely on direct I/O operations on files residing on a GlusterFS volume composed of ext4 bricks.<br>
<br>
It is our understanding that this should be possible if we specify the   <span style="font-family:Courier New">
</span><i style="font-family:Courier New">direct-io-mode=enable</i>    option when mounting the volume, but for some reason we get the following error message when calling the  
<i style="font-family:Courier New">open()</i>   system call with the <i style="font-family:Courier New">
O_DIRECT</i> flag:<i>    &quot;Invalid arguments&quot;</i>.<br>
<br>
The same system call succeeds on the local file system.<br>
<br>
<br>
System info:<br>
<div style="margin-left:40px">CentOS 6.2<br>
GlusterFS 3.2.5<br>
</div>
<br>
gluster volume info:<br>
<blockquote><font><span style="font-family:Courier New">Volume Name: rdmaVol</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Type: Distribute</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Status: Started</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Number of Bricks: 2</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Transport-type: rdma</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Bricks:</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Brick1: node01:/home/gfs</span><br style="font-family:Courier New">
<span style="font-family:Courier New">Brick2: node02:/home/gfs</span></font><br>
<br>
</blockquote>
mount command:<br>
<blockquote><font style="font-style:italic" size="2"><span style="font-family:Courier New">$ mount  -t  glusterfs  -o  direct-io-mode=enable  node01:/rdmaVol  /mnt/gfs</span></font><br>
<br>
</blockquote>
We would really appreciate your help and suggestions! Please let us know if you need any additional information.
</div>
</div>

</div></div><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br></div>