From 4554d82bbe2ecec6c79b6a791522358c8855408d Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 11 Apr 2009 01:12:10 +0530 Subject: 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 --- libglusterfs/src/call-stub.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libglusterfs/src/call-stub.h') diff --git a/libglusterfs/src/call-stub.h b/libglusterfs/src/call-stub.h index a970897b..4a8db9c5 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, -- cgit