]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/services/svc_rados.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / services / svc_rados.h
index 2792d748bc5b6c8e894c0fef180459e78bae46c1..ede029aa897b259093eef5fdcce46515ad115414 100644 (file)
@@ -3,7 +3,7 @@
 
 #pragma once
 
-#include "rgw/rgw_service.h"
+#include "rgw_service.h"
 
 #include "include/rados/librados.hpp"
 #include "common/async/yield_context.h"
@@ -66,6 +66,7 @@ public:
 
   void init() {}
   void shutdown() override;
+  void stop_processor();
 
   std::string cluster_fsid();
   uint64_t instance_id();
@@ -108,10 +109,14 @@ public:
       return pool;
     }
 
-    librados::IoCtx& ioctx() {
+    librados::IoCtx& ioctx() {
       return state.ioctx;
     }
 
+    librados::IoCtx&& ioctx() && {
+      return std::move(state.ioctx);
+    }
+
     struct List {
       Pool *pool{nullptr};