]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/WorkQueue: no WorkQueue or ThreadPool on seastar
authorSage Weil <sage@redhat.com>
Mon, 5 Nov 2018 22:46:02 +0000 (16:46 -0600)
committerKefu Chai <kchai@redhat.com>
Wed, 21 Nov 2018 03:56:33 +0000 (11:56 +0800)
At least for now!

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/WorkQueue.h

index f3424f5fa3291e70e98f357778ae6ff5a8c5ca9d..d3d76412d36d10bac9c6e9c9eb6844fd3c601486 100644 (file)
 #ifndef CEPH_WORKQUEUE_H
 #define CEPH_WORKQUEUE_H
 
+#ifdef WITH_SEASTAR
+// for ObjectStore.h
+struct ThreadPool {
+  struct TPHandle {
+  };
+};
+
+#else
+
 #include <atomic>
 #include <list>
 #include <set>
@@ -722,5 +731,6 @@ public:
 
 };
 
+#endif
 
 #endif