summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache/src/io-cache.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2012-03-20 16:48:18 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-20 09:48:58 -0700
commitdbae3d58d7dbfb404211866a17da1559cdde3387 (patch)
treee64f873ae288e9ef7ad19b3b94cec21d71b35235 /xlators/performance/io-cache/src/io-cache.h
parente8f9aabb782d4e97b1c2a6df379128c3f3962401 (diff)
performance/io-cache: destroy the pages which survived in
__ioc_page_destroy because of non NULL waitq in ioc_fault_cbk. Change-Id: I00b83f8bf0a654b3a3a23cf0b25657fbfda17804 BUG: 767948 Signed-off-by: Raghavendra G <raghavendra@gluster.com> Reviewed-on: http://review.gluster.com/2981 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.h')
-rw-r--r--xlators/performance/io-cache/src/io-cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h
index 1ce4e90325a..c3c631dbace 100644
--- a/xlators/performance/io-cache/src/io-cache.h
+++ b/xlators/performance/io-cache/src/io-cache.h
@@ -127,6 +127,7 @@ struct ioc_page {
struct iobref *iobref;
pthread_mutex_t page_lock;
int32_t op_errno;
+ char stale;
};
struct ioc_cache {