]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: drop legacy base classes for pipeline stages 45788/head
authorRadosław Zarzyński <rzarzyns@redhat.com>
Thu, 28 Apr 2022 15:02:09 +0000 (17:02 +0200)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Thu, 5 May 2022 10:39:29 +0000 (12:39 +0200)
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
src/crimson/common/operation.h

index 4daa14ede780f3a5476d828824626108dc25d9e5..634d303b4acfb6900adad5698c006270a2499260 100644 (file)
@@ -517,12 +517,6 @@ private:
   seastar::shared_mutex mutex;
 };
 
-// TODO: drop this after migrating to the new event tracking infrastructure.
-struct OrderedExclusivePhase : OrderedExclusivePhaseT<OrderedExclusivePhase> {
-  OrderedExclusivePhase(const char *type_name) : type_name(type_name) {}
-  const char * type_name;
-};
-
 /**
  * Permits multiple ops to inhabit the stage concurrently, but ensures that
  * they will proceed to the next stage in the order in which they called
@@ -608,11 +602,6 @@ private:
   seastar::shared_mutex mutex;
 };
 
-struct OrderedConcurrentPhase : OrderedConcurrentPhaseT<OrderedConcurrentPhase> {
-  OrderedConcurrentPhase(const char *type_name) : type_name(type_name) {}
-  const char * type_name;
-};
-
 /**
  * Imposes no ordering or exclusivity at all.  Ops enter without constraint and
  * may exit in any order.  Useful mainly for informational purposes between
@@ -645,9 +634,4 @@ public:
   }
 };
 
-struct UnorderedStage : UnorderedStageT<UnorderedStage> {
-  UnorderedStage(const char *type_name) : type_name(type_name) {}
-  const char * type_name;
-};
-
 }