summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-03-24 13:27:14 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-25 05:49:04 -0700
commit08d746def4b21d20153395ff1f061e833b06cd4d (patch)
treeab136705b14e0ca5bf84df3ded3236a6f270512f /xlators/cluster/stripe/src/stripe.h
parent731431c4016479fa810e62aff49e92f57513eb8d (diff)
stripe: proper fix for reading 'holes'
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 713 (fsx tool segfaults in readahead and iocache) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=713
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.h')
-rw-r--r--xlators/cluster/stripe/src/stripe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/stripe/src/stripe.h b/xlators/cluster/stripe/src/stripe.h
index 85a50f8171e..738727e9586 100644
--- a/xlators/cluster/stripe/src/stripe.h
+++ b/xlators/cluster/stripe/src/stripe.h
@@ -69,6 +69,7 @@ struct readv_replies {
int32_t count; //count of vector
int32_t op_ret; //op_ret of readv
int32_t op_errno;
+ int32_t requested_size;
struct iatt stbuf; /* 'stbuf' is also a part of reply */
};
@@ -120,7 +121,6 @@ struct stripe_local {
int8_t unwind;
size_t readv_size;
- int32_t readv_pendingsize;
int32_t entry_count;
int32_t node_index;
int32_t call_count;