With glusterfs patched fuse you should be able to work fine with O_DIRECT flag. The default stock kernel module doesn&#39;t support it.<br><br>Yes, by increasing the blocksize of the filesystem, few application performance will increase significantly.<br>
<br>Regards,<br>Amar<br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 10:52 PM, Hideo Umemura(Max-T) <span dir="ltr">&lt;<a href="mailto:h.umemura@max-t.jp">h.umemura@max-t.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everyone,<br>
<br>
I am learning and evaluating a glusterfs for film/video editing facilities.<br>
Some major film/video editing realtime applications are using the<br>
O_DIRECT file access for video/audio data files.<br>
The GLFS client via fuse mechanism is disallow the open file with<br>
O_DIRECT flag.<br>
I made a little sample code for read a file with O_DIRECT flag, and<br>
tried open the files on GLFS volumes.<br>
It returned &quot;invalid arg&quot; when open the file. It is OK when open the<br>
file without O_DIRECT flag.<br>
<br>
Is there a reason to have to refuse Direct I/O by the application though<br>
it seems to use Direct I/O internally of GLFS?<br>
<br>
Does someone have a problem same as me?<br>
Let me know if you have any advise,plan in future or patch on this.<br>
<br>
And, regarding the block size in fuse, I tried the optimization the<br>
block size in client side for film/video applications.<br>
When it was increased, the performance results is good.<br>
I think that it is convenient if it can change the block size in mount<br>
options.<br>
What do you think?<br>
<br>
Regards,<br>
<br>
Hideo.<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br><br>