summaryrefslogtreecommitdiffstats
path: root/src/common/OpQueue.h
diff options
context:
space:
mode:
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() {};
};