<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 25, 2014 at 1:58 AM, Harshavardhana <span dir="ltr">&lt;<a href="mailto:harsha@harshavardhana.net" target="_blank">harsha@harshavardhana.net</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="im">&gt; QEMU uses pkg-config to get the version of libgfapi and accordingly enable<br>
&gt; features. Currently, it checks for version 3 for base libgfapi support,<br>
&gt; version 5 for discard API support and version 6 for zerofill API support.<br>
&gt;<br>
&gt; However with recent commit c2b09dc87, libgfapi version changed from 6 to<br>
&gt; 0.0.6. So the question now is:<br>
&gt;<br>
&gt; Will there be any major/minor release of GlusterFS that will go out with<br>
&gt; libgfapi version as 6 which QEMU should support or should QEMU just switch<br>
&gt; over to using 0.0.6 ?<br>
<br>
</div>0.0.6 version from &#39;6&#39; - change was to address linking concerns and<br>
provide versioning<br>
support to not break linking objects in future while there are<br>
internal API changes.<br>
<br>
Sorry for the trouble it was an overlook on our part.<br>
<br>
Ideally it would have been great to check for GLFS_API_VERSION in &#39;glfs.h&#39;  than<br>
 `pkg-config` so that all other third party linking objects could just<br>
probe this in their<br>
build rather than relying on `pkg-config` to make it more portable.<br>
<br>
AFAICS the patch only exists in &#39;master&#39; branch its not present on<br>
release-3.5 or 3.4<br>
might not cause any trouble for QEMU in near future? or do you wish to have both<br>
version styles to make it backward compatible even on &#39;master&#39; branch?<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">--<br></font></span></blockquote><div><br></div><div><br></div><div>This needs to be sorted out. I&#39;m not (yet) sure if we needed the X.Y.Z libtool versioning. Gfapi has been following the &quot;do not change an interface once published&quot; model, and only new APIs are added along with a bump in the corresponding pkg-version number. This is probably a safer/platform independent model than using libtool versioning.</div>
<div><br></div><div>Avati</div></div></div></div>