]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: clear pin_stats_invalid bit properly on scrub-repair completion 18052/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Sep 2017 01:59:53 +0000 (09:59 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Sep 2017 01:59:53 +0000 (09:59 +0800)
commit6a990115c24185114e6acc890d119723569ae2df
tree5326578419709f65a9e200aa700ebed74dbcf856
parent1aef50a1edbd2a41e7694ffb61bfd546e5648bf9
osd/PrimaryLogPG: clear pin_stats_invalid bit properly on scrub-repair completion

We have done audit of stats and the numbers should be all ok by then.
Actually the pin_stats_invalid bit is never set true, so forgetting
to clear pin_stats_invalid here generally does harm. Also we could simply
kill the pin_stats_invalid bit instead but let's not bother with that
complexity either.

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