diff options
author | Kefu Chai <tchaikov@gmail.com> | 2016-05-03 04:41:55 +0200 |
---|---|---|
committer | Kefu Chai <tchaikov@gmail.com> | 2016-05-03 04:41:55 +0200 |
commit | 76656fe12da751248644aa2eb925df5d5170dbf1 (patch) | |
tree | a4b716206935dd5052032989eb37a2134fc757a2 /src | |
parent | Merge pull request #8072 from yuyuyu101/wip-async-skip-steps (diff) | |
parent | osd/OSD.h: remove C_OSD_SendMessageOnConn class (diff) | |
download | ceph-76656fe12da751248644aa2eb925df5d5170dbf1.tar.xz ceph-76656fe12da751248644aa2eb925df5d5170dbf1.zip |
Merge pull request #8885 from stiopaa1/osd_removeSendMessageConn
osd/OSD.h: remove C_OSD_SendMessageOnConn class
Reviewed-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/osd/OSD.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/osd/OSD.h b/src/osd/OSD.h index ea527d72f6a..1ec1bd487bc 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -1060,19 +1060,6 @@ public: ~OSDService(); }; -struct C_OSD_SendMessageOnConn: public Context { - OSDService *osd; - Message *reply; - ConnectionRef conn; - C_OSD_SendMessageOnConn( - OSDService *osd, - Message *reply, - ConnectionRef conn) : osd(osd), reply(reply), conn(conn) {} - void finish(int) { - osd->send_message_osd_cluster(reply, conn.get()); - } -}; - class OSD : public Dispatcher, public md_config_obs_t { /** OSD **/ |