]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
SimpleMessenger: allow RESETSESSION whenever we forget an endpoint 3070/head
authorGreg Farnum <gfarnum@redhat.com>
Tue, 2 Dec 2014 23:17:57 +0000 (15:17 -0800)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 3 Dec 2014 05:33:46 +0000 (21:33 -0800)
commit8cd1fdd7a778eb84cb4d7161f73bc621cc394261
tree5f561bc84f8d5917e614efb62fe512431c3b7a7c
parent56dae09b9c22c43492f26812847f76d3a07c491d
SimpleMessenger: allow RESETSESSION whenever we forget an endpoint

In the past (e229f8451d37913225c49481b2ce2896ca6788a2) we decided to disable
reset of lossless Pipes, because lossless peers resetting caused trouble and
they can't forget about each other. But they actually can: if mark_down()
is called.

I can't figure out how else we could forget about a remote endpoint, so I think
it's okay if we tell them we reset in order to clean up state. That's desirable
so that we don't get into strange situations with out-of-whack counters.

Fixes: #10080
Backport: giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/msg/simple/Pipe.cc