diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-04-11 21:40:19 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:33:48 +0530 |
commit | d720afb836ecd22c13859356261e85334422f119 (patch) | |
tree | 4f2917ed39263e1efc59f443385521e3e9a617d7 /xlators/performance/io-cache/src/io-cache.h | |
parent | be1d7c1e3b61477a82152a07a11993061e89b894 (diff) |
updated performance/io-cache with new readv writev prototypes
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.h')
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.h | 7 |
1 files changed, 4 insertions, 3 deletions
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, |