]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: perfect publish_stats tip message
authorxiexingguo <258156334@qq.com>
Wed, 2 Dec 2015 06:56:27 +0000 (14:56 +0800)
committerxiexingguo <xie.xingguo@zte.com.cn>
Wed, 2 Dec 2015 11:01:33 +0000 (19:01 +0800)
Append last_fresh time at the end of the output message.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc

index a7f88370aaac2cc78468bd3b2ba09d5ab17aa730..1d03adeaf266f481c651969ee7a029816805ee98 100644 (file)
@@ -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();