diff options
author | Raghavendra Gowdappa <rgowdapp@redhat.com> | 2018-10-12 10:03:31 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-12-18 09:19:16 +0000 |
commit | d50f22e6ae410fdcde573b6015b97dc1573bbb7e (patch) | |
tree | 44047c37bef8d87a2ec0ed068850447f9c64e6e5 /xlators/performance/io-cache/src/io-cache.h | |
parent | 51ff065b8b9d2117688053cddb29186e3135c4a1 (diff) |
performance/io-cache: update pages with write data
Currently io-cache invalidate pages falling in the range of write. But
instead it can update pages with same data so that reads can make use
of the cache.
credits: Xavi Hernandez <xhernandez@redhat.com>
Change-Id: I932bd3da97ddfd464187f3009b1013eb334f00a7
Signed-off-by: Raghavendra Gowdappa <rgowdapp@redhat.com>
updates: bz#1659869
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.h')
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h index 088e06ea917..e99dfa455a2 100644 --- a/xlators/performance/io-cache/src/io-cache.h +++ b/xlators/performance/io-cache/src/io-cache.h @@ -91,6 +91,8 @@ struct ioc_local { struct ioc_waitq *waitq; void *stub; fd_t *fd; + struct iovec *vector; + struct iobref *iobref; int32_t need_xattr; dict_t *xattr_req; }; |