From 753a603ce3259f3c6667a48ff4001512941f9128 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 backport of http://review.gluster.org/#/c/9971/ 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 cherry-picked as fa0ad231745846918b2625d0e1a89c0a5c3c24dc >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 >Signed-off-by: Jiffin Tony Thottan Change-Id: I6b01d88f92ad045e48debee23aa79f4517c6bdc2 BUG: 1218857 Signed-off-by: Jiffin Tony Thottan Reviewed-on: http://review.gluster.org/10635 Reviewed-by: Niels de Vos Tested-by: Gluster Build System --- api/src/gfapi.map | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/src/gfapi.map') diff --git a/api/src/gfapi.map b/api/src/gfapi.map index 24209d666dc..48863985135 100644 --- a/api/src/gfapi.map +++ b/api/src/gfapi.map @@ -152,6 +152,8 @@ GFAPI_3.7.0 { glfs_h_acl_set; glfs_h_acl_get; glfs_h_statfs; + glfs_h_anonymous_read; + glfs_h_anonymous_write; } GFAPI_3.6.0; GFAPI_PRIVATE_3.7.0 { -- cgit