summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read/src/quick-read.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-02-25 15:38:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-04 03:13:39 -0800
commit727fe837b8f7bfcdd59267f7745398934564543e (patch)
treedeb4becc3cd5280ea6332f262f330105a450cce9 /xlators/performance/quick-read/src/quick-read.h
parent4b2f769dcd18fbb855d7d11b82a61bcca64fc85c (diff)
quick-read: Store and propagate wbflags argument in open fop
..this is needed to ensure underlying translators like write-behind, ioc, etc, do not return zero-filled stats to NFSx. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 597 (miscellaneous fixes for xlators to work well with NFS xlator) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=597
Diffstat (limited to 'xlators/performance/quick-read/src/quick-read.h')
-rw-r--r--xlators/performance/quick-read/src/quick-read.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.h b/xlators/performance/quick-read/src/quick-read.h
index 57a7e4d46..5ced44e1d 100644
--- a/xlators/performance/quick-read/src/quick-read.h
+++ b/xlators/performance/quick-read/src/quick-read.h
@@ -48,6 +48,7 @@ struct qr_fd_ctx {
char open_in_transit;
char *path;
int flags;
+ int wbflags;
struct list_head waiting_ops;
gf_lock_t lock;
};