]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: normal command uses slow dispatch (it can send messages)
authorSage Weil <sage@redhat.com>
Fri, 19 Jan 2018 14:51:07 +0000 (08:51 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:50 +0000 (08:26 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h

index 255ef21f8f3b51b6fde1dc73fbde805fb1507ee5..1a0179c6194dc77c55b3f4e0c20fbdb50c1c6916 100644 (file)
@@ -6541,9 +6541,6 @@ void OSD::ms_fast_dispatch(Message *m)
   case MSG_MON_COMMAND:
     handle_command(static_cast<MMonCommand*>(m));
     return;
-  case MSG_COMMAND:
-    handle_command(static_cast<MCommand*>(m));
-    return;
   case MSG_OSD_FORCE_RECOVERY:
     handle_fast_force_recovery(static_cast<MOSDForceRecovery*>(m));
     return;
@@ -6787,6 +6784,10 @@ void OSD::_dispatch(Message *m)
     handle_scrub(static_cast<MOSDScrub*>(m));
     break;
 
+  case MSG_COMMAND:
+    handle_command(static_cast<MCommand*>(m));
+    return;
+
     // -- need OSDMap --
 
   case MSG_OSD_PG_CREATE:
index cb526076b510ea2023841ec27b5dd320a05114c3..0ca6e16df7fc9344e0f6636831fe017bd743428b 100644 (file)
@@ -2123,7 +2123,6 @@ private:
     case MSG_OSD_SCRUB2:
     case MSG_OSD_FORCE_RECOVERY:
     case MSG_MON_COMMAND:
-    case MSG_COMMAND:
     case MSG_OSD_PG_CREATE2:
     case MSG_OSD_PG_QUERY:
     case MSG_OSD_PG_INFO: