From: Sage Weil Date: Mon, 22 Jul 2019 19:50:11 +0000 (-0500) Subject: crimson/osd: stubs for get_mnow, get_hbstamps X-Git-Tag: v15.1.0~1952^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=49478dd3d29647c1c9eb785d5218d5f41ec12b6d;p=ceph.git crimson/osd: stubs for get_mnow, get_hbstamps Signed-off-by: Sage Weil --- diff --git a/src/crimson/osd/pg.h b/src/crimson/osd/pg.h index a818470ae613..71ea028b0daa 100644 --- a/src/crimson/osd/pg.h +++ b/src/crimson/osd/pg.h @@ -377,6 +377,13 @@ public: return OstreamTemp(CLOG_ERROR, nullptr); } + ceph::signedspan get_mnow() final { +#warning writeme + } + HeartbeatStampsRef get_hb_stamps(int peer) final { +#warning write me + } + // Utility bool is_primary() const { return peering_state.is_primary(); diff --git a/src/crimson/osd/shard_services.cc b/src/crimson/osd/shard_services.cc index be99970c2ef9..c27d5bf25d6a 100644 --- a/src/crimson/osd/shard_services.cc +++ b/src/crimson/osd/shard_services.cc @@ -245,4 +245,14 @@ seastar::future<> ShardServices::osdmap_subscribe(version_t epoch, bool force_re } } +ceph::signedspan ShardServices::get_mnow() +{ +#warning write me +} + +HeartbeatStampsRef ShardServices::get_hb_stamps(int peer) +{ +#warning write me +} + }; diff --git a/src/crimson/osd/shard_services.h b/src/crimson/osd/shard_services.h index 62b3932c4113..388335c7a0af 100644 --- a/src/crimson/osd/shard_services.h +++ b/src/crimson/osd/shard_services.h @@ -9,6 +9,7 @@ #include "osd_operation.h" #include "msg/MessageRef.h" #include "crimson/os/cyan_collection.h" +#include "osd/PeeringState.h" namespace ceph::net { class Messenger; @@ -141,6 +142,10 @@ public: void prune_pg_created(); seastar::future<> osdmap_subscribe(version_t epoch, bool force_request); + + ceph::signedspan get_mnow(); + HeartbeatStampsRef get_hb_stamps(int peer); + };