From: Sage Weil Date: Tue, 14 Oct 2014 19:42:40 +0000 (-0700) Subject: Revert "Objecter: disable fast dispatch of CEPH_MSG_OSD_OPREPLY messages" X-Git-Tag: v0.90~107^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c9f9e72e558521cb90f90538bc27f995f82d76c2;p=ceph.git Revert "Objecter: disable fast dispatch of CEPH_MSG_OSD_OPREPLY messages" This reverts commit 3f23709c474292f9239f77a6cce26309fc86ce29. We have changed mark_down() behavior so that it no longer blocks on fast dispatch. This makes the objecter reply handler safe again. Fixes: #9598 Signed-off-by: Sage Weil --- diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 32089f8d89f8..5c52548fcf6b 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -1680,14 +1680,12 @@ public: public: bool ms_dispatch(Message *m); bool ms_can_fast_dispatch_any() const { - return false; + return true; } bool ms_can_fast_dispatch(Message *m) const { switch (m->get_type()) { case CEPH_MSG_OSD_OPREPLY: - /* sadly, we need to solve a deadlock before reenabling. - * See tracker issue #9462 */ - return false; + return true; default: return false; }