Not used, old API, bad.
Signed-off-by: Sage Weil <sage@inktank.com>
return m;
}
-void OSD::send_map(MOSDMap *m, const entity_inst_t& inst, bool lazy)
-{
- Messenger *msgr = client_messenger;
- if (entity_name_t::TYPE_OSD == inst.name._type)
- msgr = cluster_messenger;
- if (lazy)
- msgr->lazy_send_message(m, inst); // only if we already have an open connection
- else
- msgr->send_message(m, inst);
-}
-
void OSD::send_map(MOSDMap *m, Connection *con)
{
Messenger *msgr = client_messenger;
MOSDMap *build_incremental_map_msg(epoch_t from, epoch_t to);
void send_incremental_map(epoch_t since, Connection *con);
- void send_map(MOSDMap *m, const entity_inst_t& inst, bool lazy);
void send_map(MOSDMap *m, Connection *con);
protected: