[Gluster-devel] Determining libgfapi/glusterfs version

Bharata B Rao bharata.rao at gmail.com
Fri Jun 14 08:40:55 UTC 2013


On Mon, Jun 3, 2013 at 9:12 PM, Anand Avati <anand.avati at gmail.com> wrote:
> This looks more like a compile time feature check than runtime. The
> PKG_CONFIG() api number which had the initial set of QEMU requirements was 3
> (i.e, PKG_CONFIG(..,glusterfs-api>=3,..). The new updates for Samba
> requirements has api number 4. Depending on whether discard support makes it
> before the next release (and api numbers gets published) or not,
> glfs_discard() would either be available in 4 or 5. Also, you might also
> want to add a second AC_CHECK_FUNC macro in configure.ac to be doubly sure.

Now with fallocate and discard support upstream, are you planning to
increment the glusterfs-api version ? I still see the version as 4 in
the git master. I need to decide if I should use version 4 or 5 to
determine the availability of discard support from QEMU.

Regards,
Bharata.




More information about the Gluster-devel mailing list