]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Dequeue XioMsg on send-fail
authorMatt Benjamin <matt@cohortfs.com>
Tue, 30 Dec 2014 21:51:00 +0000 (16:51 -0500)
committerMatt Benjamin <matt@cohortfs.com>
Wed, 14 Jan 2015 21:44:24 +0000 (16:44 -0500)
commit37719c3b5733aefecd0d8f59007b02042cd40002
tree846767f3393d0f6cb3b1df3a414c9d40896918ee
parentd16e1817b61f785aa323859ca3206f6e45d4687e
Dequeue XioMsg on send-fail

If a message send hard fails, don't omit to remove it from the
send_q--this results in an assert when the queue is in safe-mode,
but with safe mode disabled, send_q would be corrupted.

Dont fall through and erase the iterator twice.  Continue the loop,
as in the incoming release case.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
src/msg/xio/XioPortal.h