From: xiexingguo <258156334@qq.com> Date: Wed, 2 Dec 2015 06:56:27 +0000 (+0800) Subject: PG: perfect publish_stats tip message X-Git-Tag: v10.0.3~192^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b9c7e810f18e8e5ae2b55cca2df1167dd304e592;p=ceph.git PG: perfect publish_stats tip message Append last_fresh time at the end of the output message. Signed-off-by: xie xingguo --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index a7f88370aaa..1d03adeaf26 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -2544,7 +2544,7 @@ void PG::publish_stats_to_osd() if (pg_stats_publish_valid && info.stats == pg_stats_publish && info.stats.last_fresh > cutoff) { dout(15) << "publish_stats_to_osd " << pg_stats_publish.reported_epoch - << ": no change since" << dendl; + << ": no change since " << info.stats.last_fresh << dendl; } else { // update our stat summary and timestamps info.stats.reported_epoch = get_osdmap()->get_epoch();