diff options
author | Niels de Vos <ndevos@redhat.com> | 2017-07-27 09:54:15 +0200 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-07-28 14:44:53 +0000 |
commit | 2e1e685b4f36b7e532b297184270845ae41683ff (patch) | |
tree | 16628baf31788a94249692081c4bd4ccb084d3ec /api/src/gfapi.map | |
parent | 0440a4a9e337184e26818ce1d8037607c6888618 (diff) |
gfapi: mark glfs_ipc() for internal use only
The 3.7 version of glfs_ipc() has never been used by external
applications. There is little use for internal xlator communication that
is triggered from outside of core GlusterFS executables. This function
has now been removed from libgfapi.so.
For Gluster 4.0 a new variation for glfs_ipc() has been added. The
function expects dict_t parameters, which are currently not available
for external applications. There is no sense in providing glfs_ipc() for
non-core GlusterFS executables. Therefore, glfs_ipc() has been marked as
private, and the declaration is now in the glfs-internal.h header.
The Python test case (tests/features/ipctest.py) is not correct and will
be re-written in C to prevent portability issues. This test is currently
disabled (commit d26f0bac149d495fa93710c3f7b6b63c36cb8387).
Cherry picked from commit 40d71d6a201d618e52555a062ac1a429d36ca9ca:
> Change-Id: Idbfe35570d34d45ce8b6b43084627a552ac21f59
> Fixes: #269
> Signed-off-by: Niels de Vos <ndevos@redhat.com>
> Reviewed-on: https://review.gluster.org/17854
> Smoke: Gluster Build System <jenkins@build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
> Reviewed-by: soumya k <skoduri@redhat.com>
> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Change-Id: Idbfe35570d34d45ce8b6b43084627a552ac21f59
Fixes: #269
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: https://review.gluster.org/17894
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'api/src/gfapi.map')
-rw-r--r-- | api/src/gfapi.map | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/src/gfapi.map b/api/src/gfapi.map index 5e0c877077d..7f19e1ee4f9 100644 --- a/api/src/gfapi.map +++ b/api/src/gfapi.map @@ -146,7 +146,6 @@ GFAPI_3.6.0 { GFAPI_3.7.0 { global: - glfs_ipc; glfs_h_poll_upcall; glfs_h_acl_set; glfs_h_acl_get; @@ -206,7 +205,7 @@ GFAPI_3.11.0 { glfs_object_copy; } GFAPI_3.10.0; -GFAPI_4.0.0 { +GFAPI_PRIVATE_3.12.0 { global: glfs_ipc; } GFAPI_3.11.0; |