From e2a7b17f2fd8300e6041accbba4496f891a2c32d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 13 Jan 2015 07:56:36 -0800 Subject: [PATCH] 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 --- src/osd/PG.cc | 1 - 1 file changed, 1 deletion(-) 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( -- 2.47.3