diff options
| -rw-r--r-- | xlators/performance/io-cache/src/io-cache.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c index 8f018fc75bf..fc7ceca57af 100644 --- a/xlators/performance/io-cache/src/io-cache.c +++ b/xlators/performance/io-cache/src/io-cache.c @@ -895,7 +895,7 @@ ioc_dispatch_requests (call_frame_t *frame, ioc_inode_t *ioc_inode, fd_t *fd,  		if (trav->ready) {  			/* page found in cache */ -			if (!might_need_validate) { +			if (!might_need_validate && !ioc_inode->waitq) {  				/* fresh enough */  				gf_log (frame->this->name, GF_LOG_TRACE,  					"cache hit for trav_offset=%"PRId64""  | 
