]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/messages/MOSDPeeringOp.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / messages / MOSDPeeringOp.h
index 56d10cff1362949be41870df67b105fda7e2feec..bfb0380260c1e3a24505c6b66f32785316a34f69 100644 (file)
@@ -25,4 +25,16 @@ public:
   virtual epoch_t get_min_epoch() const = 0;
   virtual PGPeeringEvent *get_event() = 0;
   virtual void inner_print(std::ostream& out) const = 0;
+
+#ifdef WITH_SEASTAR
+  // In crimson, conn is independently maintained outside Message.
+  // Instead of get features from the connection later, set features at
+  // the start of the operation.
+  void set_features(uint64_t _features) {
+    features = _features;
+  }
+
+protected:
+  uint64_t features;
+#endif
 };