From eae8a469e7172380dd9c820405e7528a0ec33bad Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 14 Mar 2012 10:14:18 +0530 Subject: performance/io-cache: store op_errno in page. This will enable us to pass appropriate op_errno indicating EOF even during cache-hits. Signed-off-by: Raghavendra G Change-Id: Ib239b5de9b8fca2bd8eb5ec87c93f2cb1c11a99c BUG: 795789 Signed-off-by: Raghavendra G Reviewed-on: http://review.gluster.com/2939 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- xlators/performance/io-cache/src/io-cache.h | 1 + 1 file changed, 1 insertion(+) (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 bd60aa4f4..1ce4e9032 100644 --- a/xlators/performance/io-cache/src/io-cache.h +++ b/xlators/performance/io-cache/src/io-cache.h @@ -126,6 +126,7 @@ struct ioc_page { struct ioc_waitq *waitq; struct iobref *iobref; pthread_mutex_t page_lock; + int32_t op_errno; }; struct ioc_cache { -- cgit