From: xie xingguo Date: Fri, 8 Apr 2016 02:35:57 +0000 (+0800) Subject: osd: kill CheckRepops event, which is never used X-Git-Tag: v11.0.0~782^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91195b05e461380f7893e34ae576cf0eced44023;p=ceph.git osd: kill CheckRepops event, which is never used Signed-off-by: xie xingguo --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index abb62fc59e58..8d2f27b316b8 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -7650,7 +7650,7 @@ boost::statechart::result PG::RecoveryState::GetMissing::react(const MLogRec& lo post_event(NeedUpThru()); } else { dout(10) << "Got last missing, don't need missing " - << "posting CheckRepops" << dendl; + << "posting Activate" << dendl; post_event(Activate(pg->get_osdmap()->get_epoch())); } } diff --git a/src/osd/PG.h b/src/osd/PG.h index 647ae68f681e..4cd2dbf0b1b4 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -1481,7 +1481,6 @@ public: TrivialEvent(Load) TrivialEvent(GotInfo) TrivialEvent(NeedUpThru) - TrivialEvent(CheckRepops) TrivialEvent(NullEvt) TrivialEvent(FlushedEvt) TrivialEvent(Backfilled)