From 27388d055fcc3764246865e2aaabebf1aa694fd2 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 24 Jun 2021 14:34:41 +0800 Subject: [PATCH] crimson/osd: mark more OSD methods private they are internal helpers, not part of the public interface of the OSD class. Signed-off-by: Kefu Chai --- src/crimson/osd/osd.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/crimson/osd/osd.h b/src/crimson/osd/osd.h index 59b7cf50c00..6addb3b91cc 100644 --- a/src/crimson/osd/osd.h +++ b/src/crimson/osd/osd.h @@ -224,6 +224,12 @@ private: stop_acked.set_value(); } seastar::future<> prepare_to_stop(); + bool should_restart() const; + seastar::future<> restart(); + seastar::future<> shutdown(); + void update_heartbeat_peers(); + friend class PGAdvanceMap; + public: blocking_future> get_or_create_pg( spg_t pgid, @@ -232,15 +238,7 @@ public: blocking_future> wait_for_pg( spg_t pgid); Ref get_pg(spg_t pgid); - - bool should_restart() const; - seastar::future<> restart(); - seastar::future<> shutdown(); - seastar::future<> send_beacon(); - void update_heartbeat_peers(); - - friend class PGAdvanceMap; }; inline std::ostream& operator<<(std::ostream& out, const OSD& osd) {