[Bugs] [Bug 1354205] New: rpc: set struct saved_frame's member rsp
bugzilla at redhat.com
bugzilla at redhat.com
Sun Jul 10 18:45:13 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1354205
Bug ID: 1354205
Summary: rpc: set struct saved_frame's member rsp
Product: GlusterFS
Version: mainline
Component: rpc
Assignee: bugs at gluster.org
Reporter: johnzzpcrystal at gmail.com
CC: bugs at gluster.org
Description of problem:
In rpc layer, we will notify RPC_TRANSPORT_MAP_XID_REQUEST event to
rpc_clnt layer for getting original rpc_req when we get a reply. The info->rsp
will be copyed from saved_frame.rsp in function rpc_clnt_fill_request_info.
But the struct saved_frame's member rsp hasn't ever been set in submitting
procedure which will cause request_info->rsp.payload_count==0 in function
__socket_read_reply, and then it will get a new rsp_iobuf for current vectored
reply, the rsp_iobuf has been set in function client3_3_readv actually.
We don't need to get iobuf twice in one readv operation.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list