osd: update_stats() in GetInfo state start

This is the first stage of peering.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
Sage Weil 2012-02-17 15:26:37 -08:00
parent fb31f63170
commit 6e89d9ca06

View File

@ -4243,6 +4243,8 @@ PG::RecoveryState::GetInfo::GetInfo(my_context ctx)
if (pg->need_up_thru)
pg->osd->queue_want_up_thru(pg->info.history.same_interval_since);
pg->update_stats();
get_infos();
}