]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async: add "queue_reset" argument 9992/head
authorHaomai Wang <haomai@xsky.com>
Wed, 29 Jun 2016 05:56:39 +0000 (13:56 +0800)
committerHaomai Wang <haomai@xsky.com>
Wed, 29 Jun 2016 05:56:39 +0000 (13:56 +0800)
Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/AsyncMessenger.cc

index c4752c1eab28edfcf05c7ecce45cb273cfae1614..ff3223450b403e8e1a533c1c52ec7b37f301c092 100644 (file)
@@ -807,7 +807,7 @@ void AsyncMessenger::mark_down(const entity_addr_t& addr)
   AsyncConnectionRef p = _lookup_conn(addr);
   if (p) {
     ldout(cct, 1) << __func__ << " " << addr << " -- " << p << dendl;
-    p->stop();
+    p->stop(true);
   } else {
     ldout(cct, 1) << __func__ << " " << addr << " -- connection dne" << dendl;
   }