gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Determining libgfapi/glusterfs version


From: Vijay Bellur
Subject: Re: [Gluster-devel] Determining libgfapi/glusterfs version
Date: Mon, 03 Jun 2013 14:22:00 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 05/31/2013 10:10 PM, Bharata B Rao wrote:
Hi,

What is the best way to determine if I am running (or linked to) a
particular version of libgfapi/glusterfs ?

This would be a runtime determination, right? We are evolving versions for libgfapi that is independent of the package version.

http://review.gluster.org/#/c/4932/



Requirement: If I want to support the use of glfs_discard() from QEMU,
I should be doing it only if QEMU is linked to a version of libgfapi
that supports glfs_discard().


Maybe a new api glfs_get_version() can be evolved to determine libgfapi capability at runtime?

Regards,
Vijay





reply via email to

[Prev in Thread] Current Thread [Next in Thread]