diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-03-11 14:20:48 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-05-05 18:05:24 -0700 |
commit | fa0ad231745846918b2625d0e1a89c0a5c3c24dc (patch) | |
tree | 35ff8022e965847d19198277414636f785172e61 /api/src/gfapi.map | |
parent | a5fc34604aef973606431bf7d873abb91ee03d5a (diff) | |
download | glusterfs-fa0ad231745846918b2625d0e1a89c0a5c3c24dc.tar.gz glusterfs-fa0ad231745846918b2625d0e1a89c0a5c3c24dc.tar.xz glusterfs-fa0ad231745846918b2625d0e1a89c0a5c3c24dc.zip |
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 <jthottan@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/9971
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api/src/gfapi.map')
-rw-r--r-- | api/src/gfapi.map | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/gfapi.map b/api/src/gfapi.map index 24209d666d..4886398513 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 { |