]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: hook PeeringState into pg
authorSamuel Just <sjust@redhat.com>
Thu, 30 May 2019 00:32:17 +0000 (17:32 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 31 May 2019 21:05:45 +0000 (14:05 -0700)
commit8c86678ba7f9402f441e5a0903305a2918e2d1b2
treec44c114d519a9495364c4c5006b8c42f4360a92b
parent909f4e260e0fd86064b0fbf810a39c416325663d
crimson: hook PeeringState into pg

This patch:
1) Adds partially implemented stubs for PeeringState::PeeringListener
2) Revamps the message handling to batch the peering events from
   a single message.
3) Replaces the message handling with hand-offs to PeeringState
4) Adds support for MOSDPGCreate2 enabling creation of pgs.
5) Introduces ShardServices for exposing osd machinery to the pgs.

Signed-off-by: Samuel Just <sjust@redhat.com>
19 files changed:
src/crimson/CMakeLists.txt
src/crimson/mon/MonClient.h
src/crimson/osd/CMakeLists.txt
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/pg_backend.cc
src/crimson/osd/pg_backend.h
src/crimson/osd/recovery_events.h [deleted file]
src/crimson/osd/recovery_machine.cc [deleted file]
src/crimson/osd/recovery_machine.h [deleted file]
src/crimson/osd/recovery_state.cc [deleted file]
src/crimson/osd/recovery_state.h [deleted file]
src/crimson/osd/recovery_states.cc [deleted file]
src/crimson/osd/recovery_states.h [deleted file]
src/crimson/osd/shard_services.cc [new file with mode: 0644]
src/crimson/osd/shard_services.h [new file with mode: 0644]