On tick_without_osd_lock() waking up, we will force an immediate
report to monitor if a long enough period has elapsed since our
last report was sent.
However, the send_pg_stats() procedure is a noop unless either
osd_stat_updated field is set or pg_stat_queue is empty.
Since the latter condition is non-deterministic, we shall
manually set osd_stat_updated here to kick a pg relevant report
off.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
dout(20) << __func__ << " stats backoff " << backoff
<< " adjusted_min " << adjusted_min << " - sending report"
<< dendl;
+ osd_stat_updated = true;
report = true;
}
}