summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.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/xlator.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/xlator.h')
-rw-r--r--libglusterfs/src/xlator.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index fe50c8147fb..654e334e73e 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,