]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: define OSDMapService interface
authorKefu Chai <kchai@redhat.com>
Wed, 30 Jan 2019 08:35:55 +0000 (16:35 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 2 Feb 2019 05:20:00 +0000 (13:20 +0800)
commita0307f5d1ffc03f19f3163b4c67112b814e9fa79
tree3880cee60d56ce77ef19fae35f7330d8583ac82d
parent459fea558e65c98e0ee1cfcaedfd95117c6d5e89
crimson/osd: define OSDMapService interface

* define OSDMapService interface to decouple the consumers of
  this interface from its implementation -- the `OSD` class
* implement its methods in `OSD`

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc
src/crimson/osd/osd.h
src/crimson/osd/osdmap_service.h [new file with mode: 0644]