mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
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>
This commit is contained in:
parent
1aef50a1ed
commit
6a990115c2
@ -13604,6 +13604,7 @@ void PrimaryLogPG::_scrub_finish()
|
||||
info.stats.omap_stats_invalid = false;
|
||||
info.stats.hitset_stats_invalid = false;
|
||||
info.stats.hitset_bytes_stats_invalid = false;
|
||||
info.stats.pin_stats_invalid = false;
|
||||
publish_stats_to_osd();
|
||||
share_pg_info();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user