diff options
author | Poornima G <pgurusid@redhat.com> | 2018-01-16 14:14:39 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-01-31 09:13:58 +0000 |
commit | 542af5714d761e787276111ca8bf7a5c69afb721 (patch) | |
tree | c546c94eac9711ad403bd5c04493f5bb543c800b /xlators/protocol/client/src/client-common.h | |
parent | bb34b07fd2ec5e6c3eed4fe0cdf33479dbf5127b (diff) |
protocol: Implement put fop
Updates #353
Change-Id: I755b9208690be76935d763688fa414521eba3a40
Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client-common.h')
-rw-r--r-- | xlators/protocol/client/src/client-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-common.h b/xlators/protocol/client/src/client-common.h index 76ec0e9279d..b0690aa75d8 100644 --- a/xlators/protocol/client/src/client-common.h +++ b/xlators/protocol/client/src/client-common.h @@ -610,6 +610,11 @@ client_pre_lease_v2 (xlator_t *this, gfx_lease_req *req, loc_t *loc, struct gf_lease *lease, dict_t *xdata); int +client_pre_put_v2 (xlator_t *this, gfx_put_req *req, loc_t *loc, mode_t mode, + mode_t umask, int32_t flags, size_t size, off_t offset, + dict_t *xattr, dict_t *xdata); + +int client_post_readv_v2 (xlator_t *this, gfx_read_rsp *rsp, struct iobref **iobref, struct iobref *rsp_iobref, struct iatt *stat, struct iovec *vector, struct iovec *rsp_vector, |