From 08d746def4b21d20153395ff1f061e833b06cd4d Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 24 Mar 2010 13:27:14 +0000 Subject: stripe: proper fix for reading 'holes' Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 713 (fsx tool segfaults in readahead and iocache) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=713 --- xlators/cluster/stripe/src/stripe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/stripe/src/stripe.h') 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; -- cgit