Details
-
New Feature
-
Resolution: Duplicate
-
Trivial
-
None
-
None
-
None
-
5238
Description
Hi,
The lustre client only contains a static version of liblustreapi. Including a shared version of liblustreapi would simplify setting/getting striping of lustre files from languages such as python, which can call functions in shared libraries via ctypes.
This change has already been made in the master branch via http://review.whamcloud.com/3779, and will be included in Lustre 2.4. Note that if you compile a binary against the dynamic library, it will not run on systems running earlier versions of Lustre due to the fact that liblustreapi.so does not exist in the RPMs installed with those earlier versions.
Also of interest is the change to rename the header "lustreapi.h" instead of "liblustreapi.h", though there will be a "liblustreapi.h" wrapper for backwards compatibility. http://review.whamcloud.com/3427