mds->send_message_client_counted(stale, q->first);
}
}
+
+ mds->heartbeat_reset();
}
for (map<inodeno_t, list<MDSInternalContextBase*> >::iterator p = cap_reconnect_waiters.begin();
bool _dispatch(Message *m, bool new_msg);
ceph::heartbeat_handle_d *hb; // Heartbeat for threads using mds_lock
- void heartbeat_reset();
bool is_stale_message(Message *m);
void respawn();
// <<<
+ /**
+ * Call this periodically if inside a potentially long running piece
+ * of code while holding the mds_lock
+ */
+ void heartbeat_reset();
+
/**
* Report state DAMAGED to the mon, and then pass on to respawn(). Call
* this when an unrecoverable error is encountered while attempting