]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_lib_frontend.h
Import ceph 15.2.8
[ceph.git] / ceph / src / rgw / rgw_lib_frontend.h
index 91ccc15df95632c0ea10859bb7a30fa80d1c6d6e..0f2276f4896693706fbe368698e1c9b2e8fc24da 100644 (file)
@@ -14,6 +14,7 @@ namespace rgw {
   class RGWLibProcess : public RGWProcess {
     RGWAccessKey access_key;
     std::mutex mtx;
+    std::condition_variable cv;
     int gen;
     bool shutdown;
 
@@ -36,6 +37,7 @@ namespace rgw {
       for (const auto& fs: mounted_fs) {
        fs.second->stop();
       }
+      cv.notify_all();
     }
 
     void register_fs(RGWLibFS* fs) {