summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/call-stub.h
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-11 01:12:10 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:46 +0530
commit4554d82bbe2ecec6c79b6a791522358c8855408d (patch)
tree1262607cfcbeacf9dfb0551c15adc405741448e7 /libglusterfs/src/call-stub.h
parent3524572538e5abe839fa29fe94da8f7591cedce8 (diff)
update prototype of writev and readv_cbk to use IOBREF in parameter (step towards elmination of frame->root->{req,rsp}_refs
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/call-stub.h')
-rw-r--r--libglusterfs/src/call-stub.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libglusterfs/src/call-stub.h b/libglusterfs/src/call-stub.h
index a970897bb..4a8db9c5f 100644
--- a/libglusterfs/src/call-stub.h
+++ b/libglusterfs/src/call-stub.h
@@ -309,7 +309,7 @@ typedef struct {
struct iovec *vector;
int32_t count;
struct stat stbuf;
- dict_t *rsp_refs;
+ struct iobref *iobref;
} readv_cbk;
/* writev */
@@ -319,7 +319,7 @@ typedef struct {
struct iovec *vector;
int32_t count;
off_t off;
- dict_t *req_refs;
+ struct iobref *iobref;
} writev;
struct {
fop_writev_cbk_t fn;
@@ -905,7 +905,8 @@ fop_readv_cbk_stub (call_frame_t *frame,
int32_t op_errno,
struct iovec *vector,
int32_t count,
- struct stat *stbuf);
+ struct stat *stbuf,
+ struct iobref *iobref);
call_stub_t *
fop_writev_stub (call_frame_t *frame,
@@ -913,7 +914,8 @@ fop_writev_stub (call_frame_t *frame,
fd_t *fd,
struct iovec *vector,
int32_t count,
- off_t off);
+ off_t off,
+ struct iobref *iobref);
call_stub_t *
fop_writev_cbk_stub (call_frame_t *frame,