summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-03-01 03:14:39 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-01 09:20:53 -0800
commitbf0b366cc90ed8bc9932be69bfff1456af65cd02 (patch)
treebe429496720bc379024819c1be679ab4642f030a /xlators/cluster/stripe/src/stripe.h
parent904fef5cfece1e6eb69510b7409efe779867ca0a (diff)
stripe read fix (when read() is done on a sparse file over glusterfs)
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 536 (fsx tool fails over stripe) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=536
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.h')
-rw-r--r--xlators/cluster/stripe/src/stripe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.h b/xlators/cluster/stripe/src/stripe.h
index ff57f993..a36c51fe 100644
--- a/xlators/cluster/stripe/src/stripe.h
+++ b/xlators/cluster/stripe/src/stripe.h
@@ -119,6 +119,8 @@ struct stripe_local {
int8_t failed;
int8_t unwind;
+ size_t readv_size;
+ int32_t readv_pendingsize;
int32_t entry_count;
int32_t node_index;
int32_t call_count;