]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "Objecter: disable fast dispatch of CEPH_MSG_OSD_OPREPLY messages" 2722/head
authorSage Weil <sage@redhat.com>
Tue, 14 Oct 2014 19:42:40 +0000 (12:42 -0700)
committerSage Weil <sage@redhat.com>
Tue, 14 Oct 2014 19:42:40 +0000 (12:42 -0700)
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 <sage@redhat.com>
src/osdc/Objecter.h

index 32089f8d89f8ce5f147795aa775986a2e386c987..5c52548fcf6bb88586c35d97c440311d62468935 100644 (file)
@@ -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;
     }