From d720afb836ecd22c13859356261e85334422f119 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 11 Apr 2009 21:40:19 +0530 Subject: updated performance/io-cache with new readv writev prototypes Signed-off-by: Anand V. Avati --- xlators/performance/io-cache/src/io-cache.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xlators/performance/io-cache/src/io-cache.h') diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h index 3cefca16414..ffa7d7dcd6b 100644 --- a/xlators/performance/io-cache/src/io-cache.h +++ b/xlators/performance/io-cache/src/io-cache.h @@ -75,7 +75,7 @@ struct ioc_fill { size_t size; struct iovec *vector; int32_t count; - dict_t *refs; + struct iobref *iobref; }; struct ioc_local { @@ -115,7 +115,7 @@ struct ioc_page { off_t offset; size_t size; struct ioc_waitq *waitq; - dict_t *ref; + struct iobref *iobref; pthread_mutex_t page_lock; }; @@ -169,7 +169,8 @@ ioc_readv_disabled_cbk (call_frame_t *frame, int32_t op_errno, struct iovec *vector, int32_t count, - struct stat *stbuf); + struct stat *stbuf, + struct iobref *iobref); ioc_page_t * ioc_page_get (ioc_inode_t *ioc_inode, -- cgit