summaryrefslogtreecommitdiffstats
path: root/src/common/OpQueue.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-23 16:45:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-23 16:45:44 +0000
commit17d6a993fc17d533460c5f40f3908c708e057c18 (patch)
tree1a3bd93e0ecd74fa02f93a528fe2f87e5314c4b5 /src/common/OpQueue.h
parentReleasing progress-linux version 18.2.2-0progress7.99u1. (diff)
downloadceph-17d6a993fc17d533460c5f40f3908c708e057c18.tar.xz
ceph-17d6a993fc17d533460c5f40f3908c708e057c18.zip
Merging upstream version 18.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/common/OpQueue.h')
-rw-r--r--src/common/OpQueue.h4
1 files changed, 4 insertions, 0 deletions
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 <list>
#include <functional>
@@ -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() {};
};