From: Sage Weil Date: Tue, 13 Jan 2015 15:56:36 +0000 (-0800) Subject: osd/PG: remove unnecessary publish_stats_to_osd() in all_activated_and_committted() X-Git-Tag: v0.93~217^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e2a7b17f2fd8300e6041accbba4496f891a2c32d;p=ceph.git osd/PG: remove unnecessary publish_stats_to_osd() in all_activated_and_committted() We queue the AllReplicasActivated event, and when that is processed we call on_activated(), which publishes our pg stats. Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index e6d9e148d4d2..4d344958659d 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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(