[Bugs] [Bug 1352482] qemu libgfapi clients hang when doing I/O with 3.7.12

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 4 12:55:09 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1352482

Poornima G <pgurusid at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pgurusid at redhat.com



--- Comment #8 from Poornima G <pgurusid at redhat.com> ---
RCA:

Debugged this along with Raghavendra Talur and Kaushal M. turns out this is
caused by http://review.gluster.org/#/c/14148/ .

pub_glfs_pwritev_async(..., iovec, iovec_count...) can take array of iovecs as
input and another parameter count that indicates the number of iovecs passed.
gfapi internally collates all the iovecs into a single iovec and sends it all
the way to the RPC(network layer), as a result of collating all the iovecs, the
count of iovecs should also be passed as '1', but the patch was sending the
count as sent by the user. i.e. if user specified 3 iovecs, and count is 3,
gfapi copies all iovecs into one and should send the count as 1, but it is
currently sending as 3, and hence the issue.

The fix for the same will be sent, and will try to include it in 3.7.13.

Regards,
Poornima

-- 
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