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