]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson: mark OSD::get_or_create_pg and wait_for_pg private 46136/head
authorSamuel Just <sjust@redhat.com>
Wed, 4 May 2022 23:36:01 +0000 (23:36 +0000)
committerSamuel Just <sjust@redhat.com>
Sat, 7 May 2022 21:44:15 +0000 (14:44 -0700)
All users now use start_pg_operation.

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

index a40670fe0f255be559a3f20357e8670c8653505b..9902459bf6c64eb90946a68c81847930c9399dc6 100644 (file)
@@ -235,7 +235,6 @@ private:
   RemotePeeringEvent::OSDPipeline peering_request_osd_pipeline;
   friend class RemotePeeringEvent;
 
-public:
   seastar::future<Ref<PG>> get_or_create_pg(
     PGMap::PGCreationBlockingEvent::TriggerI&&,
     spg_t pgid,
@@ -243,6 +242,8 @@ public:
     std::unique_ptr<PGCreateInfo> info);
   seastar::future<Ref<PG>> wait_for_pg(
     PGMap::PGCreationBlockingEvent::TriggerI&&, spg_t pgid);
+
+public:
   Ref<PG> get_pg(spg_t pgid);
   seastar::future<> send_beacon();