diff options
author | Sage Weil <sage@inktank.com> | 2013-01-25 09:30:00 -0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-02-04 22:06:17 -0800 |
commit | 2ebf4d065af3dc2e581a25b921071af3efb57f8a (patch) | |
tree | a3aaf82c5efdd36ce667968d9080386fc22eb6a7 | |
parent | bac5b144b27f32da306161ae7018ccc337704121 (diff) | |
download | ceph-2ebf4d065af3dc2e581a25b921071af3efb57f8a.tar.gz |
osd: kill unused addr-based send_map()
Not used, old API, bad.
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit e359a862199c8a94cb238f7271ba1b0edcc0863c)
-rw-r--r-- | src/osd/OSD.cc | 11 | ||||
-rw-r--r-- | src/osd/OSD.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index c189a4508f4..0cac58410c2 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -4328,17 +4328,6 @@ MOSDMap *OSD::build_incremental_map_msg(epoch_t since, epoch_t to) 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; diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 08de19532ff..c3bc0b96839 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -834,7 +834,6 @@ private: 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: |