From 17d6a993fc17d533460c5f40f3908c708e057c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:17 +0200 Subject: Merging upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/common/OpQueue.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/OpQueue.h') diff --git a/src/common/OpQueue.h b/src/common/OpQueue.h index 0204f4b44..07104b21f 100644 --- a/src/common/OpQueue.h +++ b/src/common/OpQueue.h @@ -16,6 +16,7 @@ #define OP_QUEUE_H #include "include/msgr.h" +#include "osd/osd_types.h" #include #include @@ -66,6 +67,9 @@ public: // Human readable brief description of queue and relevant parameters virtual void print(std::ostream &f) const = 0; + // Get the type of OpQueue implementation + virtual op_queue_type_t get_type() const = 0; + // Don't leak resources on destruction virtual ~OpQueue() {}; }; -- cgit v1.2.3