diff options
author | Raghavendra G <raghavendra@zresearch.com> | 2009-07-09 23:59:26 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-15 23:15:04 -0700 |
commit | 22c076cadc04e15aa84f86bca621d38fbf111932 (patch) | |
tree | 349fcd83953639be24af5aee3dbeaec465cf87e5 /libglusterfs/src | |
parent | 359e87e72fcfc30909b0131a5e559466713245ed (diff) |
ib-verbs: don't append ioq_entry to pending_list if first attempt of writing to network fails
* fix to bug #101 - When a buffer bigger than ib-verbs-work-request-send-size
was attempted to write to network, ib-verbs returns ENOTCONN. Neverthless,
the ioq_entry corresponding to the write was appended to the pending lists
of ioq_entries waiting to be written to network. This resulted in double
free of header, once in protocol_client_xfer and again during cleanup of
transport. The transport cleanup happened due to the timeouts of
subsequent operations, since ioq_entry corresponding to writev
was blocking any other operations from reaching server.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 101 (ib-verbs config crashing while dd'ing with a big mtu size)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=101
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions