]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: initialize last_pg_stats_ack correctly on first pg_stats message sending
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 30 Mar 2016 07:30:20 +0000 (15:30 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 30 Mar 2016 10:01:38 +0000 (18:01 +0800)
commit5c5c8dfefec029686cf2550bae415ab397af938c
tree3f818c922a9632e0b3efe6c0ba19b9f24fafe3c3
parent9cf53022c307c67e5926f9d58ba7be1758bb0a2d
osd: initialize last_pg_stats_ack correctly on first pg_stats message sending

So we don't potentially make an incorrect judgement in the tick_without_osd_lock()
procedure if OSD's first pg_stats message was sent, which as a result shall cause
an unnecessary hunting of new monitor.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSD.cc