From cbd61752ffefab6b42d29057e0f5b5e59191d51d Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 27 Jan 2011 02:50:38 +0000 Subject: performance/io-cache: disable caching if indicated by NFS. - wbflags - which contain flags to disable caching - passed by NFS were not stored in local by ioc_open, there by causing failure of io-cache to honour these flags. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 2289 ([3.1.2qa3] EIO while reading & writing from a file concurrently) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2289 --- xlators/performance/io-cache/src/io-cache.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators') diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c index 7adfaa40a7a..4faf1d087ef 100644 --- a/xlators/performance/io-cache/src/io-cache.c +++ b/xlators/performance/io-cache/src/io-cache.c @@ -797,6 +797,7 @@ ioc_open (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, local->flags = flags; local->file_loc.path = loc->path; local->file_loc.inode = loc->inode; + local->wbflags = wbflags; frame->local = local; -- cgit