]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/: move get_mnow() to ShardServices, pass to heartbeat
authorSamuel Just <sjust@redhat.com>
Tue, 23 Jul 2019 03:07:57 +0000 (20:07 -0700)
committerSage Weil <sage@redhat.com>
Mon, 5 Aug 2019 18:53:25 +0000 (13:53 -0500)
commit8f906e3cd75a7dceb1159e54ab2590b1a2a313a7
tree7109b8454d11c2b977847b911eadeea81bfc077e
parent49478dd3d29647c1c9eb785d5218d5f41ec12b6d
crimson/: move get_mnow() to ShardServices, pass to heartbeat

get_mnow isn't clearly at home in OSDMapService, and the other methods
are needed from PeeringState, so let's consolidate on ShardServices
for now.  We probably ought OSDMapService state out of OSD into its
own module at some point.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/heartbeat.cc
src/crimson/osd/heartbeat.h
src/crimson/osd/osd.cc
src/crimson/osd/osd.h
src/crimson/osd/osdmap_service.h
src/crimson/osd/pg.cc
src/crimson/osd/pg.h
src/crimson/osd/shard_services.cc
src/crimson/osd/shard_services.h