<div dir="ltr"><div><div><div><div>Hi Roberto,<br><br></div>Wow, this looks really awesome - thank you so much for taking the time to do this. <br><br></div>I am copying the gluster-devel list, as they may have some insight into the more dev-centric questions.<br>

<br>Also, if you&#39;re so inclined, please consider mirroring your project on the Gluster Community Forge, which is the standard place for all Gluster-y things to be developed: <a href="http://forge.gluster.org/">http://forge.gluster.org/</a> <br>

<br></div>Thanks,<br>John Mark <br></div>Gluster Community Leader<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 29, 2013 at 11:36 AM, Roberto De Ioris <span dir="ltr">&lt;<a href="mailto:roberto@unbit.it" target="_blank">roberto@unbit.it</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi everyone, i have just committed a plugin for the uWSGI application server<br>
for exposing glusterfs filesystems using the new native api:<br>
<br>
<a href="https://github.com/unbit/uwsgi-docs/blob/master/GlusterFS.rst" target="_blank">https://github.com/unbit/uwsgi-docs/blob/master/GlusterFS.rst</a><br>
<br>
Currently it is very simple, but works really well.<br>
<br>
I have studied the whole api, and i have two questions:<br>
<br>
why there is no glfs_stat_async() ?<br>
<br>
if i understand the code well, even stat() is a blocking operation.<br>
<br>
My objective is avoiding the use of threads and processes and use the<br>
uWSGI async api to implement a non blocking-approach (mixable with other<br>
engines like gevent or Coro::AnyEvent)<br>
<br>
Another thing is the bison/yacc nameclash. uWSGI allows you to load<br>
various external libraries and the use of the default &#39;yy&#39; prefix causes<br>
nameclashes with common libraries (like matheval).<br>
<br>
I understand that matheval too should choose a better approach, but why<br>
not prefixing it like glusterfsyy ? This would avoid headaches, even for<br>
when people will start using the library in higher level languages.<br>
<br>
Currently i have tried the YFLAGS env var hack for ./configure but it did<br>
not work (i am using bison)<br>
<br>
YFLAGS=&quot;-Dapi.prefix=glusterfsyy -d&quot; ./configure --prefix=/opt/glusterfs/<br>
<br>
Thanks a lot for your attention<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Roberto De Ioris<br>
<a href="http://unbit.it" target="_blank">http://unbit.it</a><br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</font></span></blockquote></div><br></div>