diff options
author | Raghavendra G <raghavendra@gluster.com> | 2011-01-27 02:50:38 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-01-27 12:18:11 -0800 |
commit | cbd61752ffefab6b42d29057e0f5b5e59191d51d (patch) | |
tree | e2b7264ef8b2d9ed5bf6a4dbf9b042534044cd48 /xlators/performance/io-cache/src/io-cache.c | |
parent | 066b1809876ba156d925edcb8fb470ee90319d3c (diff) |
performance/io-cache: disable caching if indicated by NFS.v3.1.2gsyncqa4
- 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 <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
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
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.c')
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |