]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: introduce pg_shard_manager to clarify shard-local vs osd-wide state
authorSamuel Just <sjust@redhat.com>
Tue, 12 Jul 2022 22:35:44 +0000 (22:35 +0000)
committerSamuel Just <sjust@redhat.com>
Thu, 14 Jul 2022 00:58:25 +0000 (00:58 +0000)
commite725936703f89933fc9fae70f649cb5632480093
treeb98abe0bf67eea883a3407a6f6df03c5c99638df
parent92be979173b43ece5891d026d57b2d47b5764cb5
crimson/osd: introduce pg_shard_manager to clarify shard-local vs osd-wide state

This commits begins to change ShardServices to be the interface by which
PGs access shard local and osd wide state.  Future work will further
clarify this interface boundary and introduce machinery to mediate cold
path access to state on remote shards.

Signed-off-by: Samuel Just <sjust@redhat.com>
14 files changed:
src/crimson/osd/CMakeLists.txt
src/crimson/osd/osd.cc
src/crimson/osd/osd.h
src/crimson/osd/osd_operation_external_tracking.h
src/crimson/osd/osd_operations/background_recovery.cc
src/crimson/osd/osd_operations/client_request.cc
src/crimson/osd/osd_operations/client_request.h
src/crimson/osd/pg.cc
src/crimson/osd/pg.h
src/crimson/osd/pg_shard_manager.cc [new file with mode: 0644]
src/crimson/osd/pg_shard_manager.h [new file with mode: 0644]
src/crimson/osd/recovery_backend.cc
src/crimson/osd/shard_services.cc
src/crimson/osd/shard_services.h