ib-verbs: don't append ioq_entry to pending_list if first attempt of writing to network fails
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

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster