]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msgr: generate reset event on mark_down to addr (not con)
authorSage Weil <sage@inktank.com>
Wed, 17 Jul 2013 05:43:26 +0000 (22:43 -0700)
committerSage Weil <sage@inktank.com>
Thu, 18 Jul 2013 22:02:08 +0000 (15:02 -0700)
commite1e0d5056d00772840a75ce3ac7cd1f172ba182a
tree43476f6510e71fd3825c997c89fc37020fbce0bd
parentc5226346cb16129b572c45bd32572b6ec3fbe5f5
msgr: generate reset event on mark_down to addr (not con)

If the caller is marking down an addr, they presumably don't have the
Connection* handy, so we should generate a reset event to help them
clean up con <-> session ref cycles.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/SimpleMessenger.cc