assert(osd_lock.is_locked());
dout(10) << "tick" << dendl;
- logger->set(l_osd_buf, buffer::get_total_alloc());
- logger->set(l_osd_history_alloc_bytes, SHIFT_ROUND_UP(buffer::get_history_alloc_bytes(), 20));
- logger->set(l_osd_history_alloc_num, buffer::get_history_alloc_num());
- logger->set(l_osd_cached_crc, buffer::get_cached_crc());
- logger->set(l_osd_cached_crc_adjusted, buffer::get_cached_crc_adjusted());
-
if (is_active() || is_waiting_for_healthy()) {
maybe_update_heartbeat_peers();
-
- heartbeat_lock.Lock();
- heartbeat_check();
- heartbeat_lock.Unlock();
}
if (is_waiting_for_healthy()) {