]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: migrate BackfillRecoveryPipeline to new tracking infra.
authorRadosław Zarzyński <rzarzyns@redhat.com>
Thu, 14 Apr 2022 11:18:35 +0000 (13:18 +0200)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Thu, 5 May 2022 02:06:31 +0000 (04:06 +0200)
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
src/crimson/osd/osd_operations/background_recovery.h

index 514a103c581c378d7f0e756c829137a48918548b..05fba18d1845dbd213683bd2b7c56b75bfc234b3 100644 (file)
@@ -9,8 +9,6 @@
 #include "crimson/osd/osd_operation.h"
 #include "crimson/common/type_helpers.h"
 
-#include "messages/MOSDOp.h"
-
 namespace crimson::osd {
 class PG;
 class ShardServices;
@@ -85,9 +83,9 @@ private:
 class BackfillRecovery final : public BackgroundRecovery {
 public:
   class BackfillRecoveryPipeline {
-    OrderedExclusivePhase process = {
-      "BackfillRecovery::PGPipeline::process"
-    };
+    struct Process : OrderedExclusivePhaseT<Process> {
+      static constexpr auto type_name = "BackfillRecovery::PGPipeline::process";
+    } process;
     friend class BackfillRecovery;
     friend class PeeringEvent;
   };