]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: clean up PerShardState/OSDSingletonState ownership/access
authorSamuel Just <sjust@redhat.com>
Thu, 25 Aug 2022 01:28:08 +0000 (01:28 +0000)
committerSamuel Just <sjust@redhat.com>
Tue, 27 Sep 2022 02:35:41 +0000 (19:35 -0700)
commit1297b49c9327edd1f6e7c91b94f8e1487f308528
tree1ac8934d6bc3e90e5cb2a4635a4e343899a0af50
parent12042dcbc75433ba9fc89585dfa561fc1d5fe623
crimson/osd: clean up PerShardState/OSDSingletonState ownership/access

- move heartbeat messenger ownership to OSD
- move OSDSingletonState/ShardServices initialization to
  PGShardManager::start() method
- add accessor OSD::get_shard_services(), remove OSD::shard_services
  reference
- accessor/forwarding cleanups within PGShardManager

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