[Gluster-devel] gfapi: Changed API signatures in release-6
Shyam Ranganathan
srangana at redhat.com
Thu Feb 7 14:35:13 UTC 2019
Hi,
A few GFAPI signatures have changed in release-6 and the list can be
seen here [1]. The change is to adapt to a more elaborate stat structure
than what POSIX provides and details around the same can be seen here [2].
If you have an application that compiles against gfapi, then it needs to
adapt to the new APIs in case you are buildnig against master or against
release-6.
Existing compiled applications will continue to work as the older
versions of the symbol are present and have not changed their ABI.
Further, if your build environment still depends on a version less than
release-6 or master, the builds and functionality remains the same (IOW,
there is not immediate need to adapt to the new APIs).
Components that I know integrate to gfapi and hence may need to change are,
- Samba Gluster plugin
- NFS Ganesha FSAL for Gluster
- TCMU-Gluster integration
- QEMU Gluster integration
- Other language API bindings
- go
- python
- <insert other>
- Anything else?
Request respective maintainers or members working with these integration
to post required patches to the respective projects.
Thanks,
Shyam
[1] APIs changed/added in release-6:
https://github.com/gluster/glusterfs/blob/release-6/api/src/gfapi.map#L245
(NOTE: Version will change to 6.0 as this patch is merged
https://review.gluster.org/c/glusterfs/+/22173 )
[2] Issue dealing with statx like stat information returns from gfapi:
- https://github.com/gluster/glusterfs/issues/389
- https://github.com/gluster/glusterfs/issues/273
More information about the Gluster-devel
mailing list