]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: stubs for get_mnow, get_hbstamps
authorSage Weil <sage@redhat.com>
Mon, 22 Jul 2019 19:50:11 +0000 (14:50 -0500)
committerSage Weil <sage@redhat.com>
Mon, 5 Aug 2019 18:53:25 +0000 (13:53 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/crimson/osd/pg.h
src/crimson/osd/shard_services.cc
src/crimson/osd/shard_services.h

index a818470ae6135879f6bebc8c7c361507f8a3739f..71ea028b0daabee7ac97c0a903fcd2076005766e 100644 (file)
@@ -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();
index be99970c2ef92e17da8a71f84b8d36f81d795d80..c27d5bf25d6a16c6d5b24f3bf361ac7200212db1 100644 (file)
@@ -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
+}
+
 };
index 62b3932c4113078d390873d9e892d7adb21ce5c7..388335c7a0afc1bd9cdcde4fcdc4fda948f75f0e 100644 (file)
@@ -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);
+
 };