diff options
Diffstat (limited to 'src/rgw/rgw_sal.h')
-rw-r--r-- | src/rgw/rgw_sal.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/rgw/rgw_sal.h b/src/rgw/rgw_sal.h index 943905af17a..fbff4f60645 100644 --- a/src/rgw/rgw_sal.h +++ b/src/rgw/rgw_sal.h @@ -1536,6 +1536,7 @@ public: static rgw::sal::Driver* get_storage(const DoutPrefixProvider* dpp, CephContext* cct, const Config& cfg, + boost::asio::io_context& io_context, bool use_gc_thread, bool use_lc_thread, bool quota_threads, @@ -1544,7 +1545,7 @@ public: bool run_notification_thread, optional_yield y, bool use_cache = true, bool use_gc = true) { - rgw::sal::Driver* driver = init_storage_provider(dpp, cct, cfg, use_gc_thread, + rgw::sal::Driver* driver = init_storage_provider(dpp, cct, cfg, io_context, use_gc_thread, use_lc_thread, quota_threads, run_sync_thread, @@ -1555,14 +1556,16 @@ public: } /** Get a stripped down driver by service name */ static rgw::sal::Driver* get_raw_storage(const DoutPrefixProvider* dpp, - CephContext* cct, const Config& cfg) { - rgw::sal::Driver* driver = init_raw_storage_provider(dpp, cct, cfg); + CephContext* cct, const Config& cfg, + boost::asio::io_context& io_context) { + rgw::sal::Driver* driver = init_raw_storage_provider(dpp, cct, cfg, io_context); return driver; } /** Initialize a new full Driver */ static rgw::sal::Driver* init_storage_provider(const DoutPrefixProvider* dpp, CephContext* cct, const Config& cfg, + boost::asio::io_context& io_context, bool use_gc_thread, bool use_lc_thread, bool quota_threads, @@ -1574,7 +1577,8 @@ public: /** Initialize a new raw Driver */ static rgw::sal::Driver* init_raw_storage_provider(const DoutPrefixProvider* dpp, CephContext* cct, - const Config& cfg); + const Config& cfg, + boost::asio::io_context& io_context); /** Close a Driver when it's no longer needed */ static void close_storage(rgw::sal::Driver* driver); |