Bug 808078

Summary: Setting xdata on writev doesn't work
Product: [Community] GlusterFS Reporter: Jeff Darcy <jdarcy>
Component: protocolAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact: Sachidananda Urs <sac>
Severity: high Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, ujjwala, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:27:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Darcy 2012-03-29 13:58:48 UTC
Xdr_to_generic expects the variable-length xdata to be in the same contiguous memory buffer as the fixed part, but currently only the length is present.  This doesn't affect most calls, because the buffer layout is a side effect of the vector_sizer stuff in the transport layer and most calls don't use that method, but it probably does affect the return side of readv as well.

Comment 1 Jeff Darcy 2012-03-29 13:59:56 UTC
http://review.gluster.com/3038

Comment 2 Amar Tumballi 2012-04-02 04:07:38 UTC
Thanks for the patch Jeff, I will run some tests with/wo your patch and mark it reviewed after that.

Comment 3 Amar Tumballi 2012-05-24 09:59:14 UTC
http://review.gluster.com/3182 is merged in master branch, not planing to backport right away to release-3.3 as there are no consumers yet. Hence moving it to ON_QA for master branch.

Comment 4 Sachidananda Urs 2012-06-01 05:30:13 UTC
Not part of 3.3.0 release will be testing later. Changes are in master.

Comment 5 Sachidananda Urs 2012-12-26 07:33:20 UTC
This isn't fixed in qa5, will retry again on qa6.