From fa0ad231745846918b2625d0e1a89c0a5c3c24dc Mon Sep 17 00:00:00 2001 From: Jiffin Tony Thottan Date: Wed, 11 Mar 2015 14:20:48 +0530 Subject: libgfapi : anonymous fd support Anonymous fd's are floating fd assigned to a glusterfs client without a explicit file open. Here either it will create a new anonymous fd or existing anonymous fd in the client stack for requested file.The anonymous fd's are mainly used for IO's. This patch introduces two api's glfs_h_anonymous_read and glfs_h_anonymous_write which performs read and write respectively Change-Id: Id646f2220e8387b2f8bb244c848dc1db6761444f BUG: 1204651 Signed-off-by: Jiffin Tony Thottan Reviewed-by: Niels de Vos Reviewed-on: http://review.gluster.org/9971 Tested-by: Gluster Build System --- api/src/gfapi.aliases | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api/src/gfapi.aliases') diff --git a/api/src/gfapi.aliases b/api/src/gfapi.aliases index 6d48ecdf2c9..9776c87fdcb 100644 --- a/api/src/gfapi.aliases +++ b/api/src/gfapi.aliases @@ -131,6 +131,9 @@ _pub_glfs_h_acl_set _glfs_h_acl_set$GFAPI_3.7.0 _pub_glfs_h_acl_get _glfs_h_acl_get$GFAPI_3.7.0 _pub_glfs_h_statfs _glfs_h_statfs$GFAPI_3.7.0 +_pub_glfs_h_anonymous_read _glfs_h_anonymous_read$GFAPI_3.7.0 +_pub_glfs_h_anonymous_write _glfs_h_anonymous_write$GFAPI_3.7.0 + _priv_glfs_free_from_ctx _glfs_free_from_ctx$GFAPI_PRIVATE_3.7.0 _priv_glfs_new_from_ctx _glfs_new_from_ctx$GFAPI_PRIVATE_3.7.0 _priv_glfs_resolve _glfs_resolve$GFAPI_PRIVATE_3.7.0 -- cgit