]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: mark_down_on_empty and mark_disposable
authorSage Weil <sage.weil@dreamhost.com>
Fri, 13 May 2011 20:01:08 +0000 (13:01 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 14 May 2011 21:07:28 +0000 (14:07 -0700)
commita5b5aea4d83f8495cc89015e267737652f00361f
treef06785fff3788f38360e1965fbc5df05d7ec2aff
parent5ecc42b5c2e4ded2db780473e4c5c3d0ea9e49fb
msgr: mark_down_on_empty and mark_disposable

Mark a connection to close when messages are sent, and to close on any
error.  We can use this to tell people who should be dead that they should
be dead, but not waste resources reconnecting to them.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/msg/Messenger.h
src/msg/SimpleMessenger.cc
src/msg/SimpleMessenger.h