[Bugs] [Bug 1436936] New: parameter state->size is wrong in server3_3_writev
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 29 03:29:25 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1436936
Bug ID: 1436936
Summary: parameter state->size is wrong in server3_3_writev
Product: GlusterFS
Version: mainline
Component: protocol
Severity: low
Assignee: bugs at gluster.org
Reporter: johnzzpcrystal at gmail.com
CC: bugs at gluster.org
Description of problem:
state->size has been setted twice in server3_3_writev:
first:
state->resolve.type = RESOLVE_MUST;
state->resolve.fd_no = args.fd;
state->offset = args.offset;
state->size = args.size;
state->flags = args.flag;
state->iobref = iobref_ref (req->iobref);
memcpy (state->resolve.gfid, args.gfid, 16);
second:
for (i = 1; i < req->count; i++) {
state->payload_vector[state->payload_count++]
= req->msg[i];
}
cause :
state->size will double
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