]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_period_pusher.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rgw / rgw_period_pusher.h
index 22ed6380a2aeb1c628a56fb66d36af2c90df48cc..fded5095c1b22193d7810ed8bd80a858667b7138 100644 (file)
@@ -8,6 +8,7 @@
 #include <mutex>
 #include <vector>
 
+#include "common/async/yield_context.h"
 #include "rgw_realm_reloader.h"
 
 namespace rgw {
@@ -28,7 +29,7 @@ using RGWZonesNeedPeriod = RGWPeriod;
 class RGWPeriodPusher final : public RGWRealmWatcher::Watcher,
                               public RGWRealmReloader::Pauser {
  public:
-  explicit RGWPeriodPusher(rgw::sal::RGWRadosStore* store);
+  explicit RGWPeriodPusher(rgw::sal::RGWRadosStore* store, optional_yield y);
   ~RGWPeriodPusher() override;
 
   /// respond to realm notifications by pushing new periods to other zones