From: Javeme Date: Wed, 9 Nov 2016 08:07:09 +0000 (+0800) Subject: mon: move case CEPH_MSG_POOLOP to OSDs group X-Git-Tag: v11.1.0~182^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=14a3a9136df7ca6289b76ad249c9ea45febd9d87;p=ceph.git mon: move case CEPH_MSG_POOLOP to OSDs group The message CEPH_MSG_POOLOP is processed by class OSDMonitor, it's processed in the same way as other OSD messages in Monitor::dispatch_op(), such as the following messages: CEPH_MSG_MON_GET_OSDMAP, MSG_OSD_BOOT, MSG_OSD_ALIVE... This patch moves case CEPH_MSG_POOLOP to cases of OSDs group. Signed-off-by: Javeme --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index eb2e7dafcc16..fd8712bed8c1 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -3851,6 +3851,7 @@ void Monitor::dispatch_op(MonOpRequestRef op) // OSDs case CEPH_MSG_MON_GET_OSDMAP: + case CEPH_MSG_POOLOP: case MSG_OSD_MARK_ME_DOWN: case MSG_OSD_FAILURE: case MSG_OSD_BOOT: @@ -3878,10 +3879,6 @@ void Monitor::dispatch_op(MonOpRequestRef op) paxos_service[PAXOS_PGMAP]->dispatch(op); break; - case CEPH_MSG_POOLOP: - paxos_service[PAXOS_OSDMAP]->dispatch(op); - break; - // log case MSG_LOG: paxos_service[PAXOS_LOG]->dispatch(op);