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/xlator.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libglusterfs/src/xlator.h') diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index fe50c8147..654e334e7 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -57,6 +57,7 @@ typedef int32_t (*event_notify_fn_t) (xlator_t *this, #include "list.h" #include "gf-dirent.h" #include "stack.h" +#include "iobuf.h" #include "inode.h" #include "fd.h" @@ -290,7 +291,8 @@ typedef int32_t (*fop_readv_cbk_t) (call_frame_t *frame, int32_t op_errno, struct iovec *vector, int32_t count, - struct stat *stbuf); + struct stat *stbuf, + struct iobref *iobref); typedef int32_t (*fop_writev_cbk_t) (call_frame_t *frame, void *cookie, @@ -559,7 +561,8 @@ typedef int32_t (*fop_writev_t) (call_frame_t *frame, fd_t *fd, struct iovec *vector, int32_t count, - off_t offset); + off_t offset, + struct iobref *iobref); typedef int32_t (*fop_flush_t) (call_frame_t *frame, xlator_t *this, -- cgit