]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: remove unnecessary publish_stats_to_osd() in all_activated_and_committted() 3365/head
authorSage Weil <sage@redhat.com>
Tue, 13 Jan 2015 15:56:36 +0000 (07:56 -0800)
committerSage Weil <sage@redhat.com>
Tue, 13 Jan 2015 15:56:36 +0000 (07:56 -0800)
We queue the AllReplicasActivated event, and when that is processed we
call on_activated(), which publishes our pg stats.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc

index e6d9e148d4d23ee8edadb5a95749eadf6a647608..4d344958659d6a87c17ea22662eb441eb0ce983a 100644 (file)
@@ -1855,7 +1855,6 @@ void PG::all_activated_and_committed()
   state_clear(PG_STATE_CREATING);
 
   share_pg_info();
-  publish_stats_to_osd();
 
   queue_peering_event(
     CephPeeringEvtRef(