summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_aio_throttle.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-02-09 15:09:51 +0100
committerCasey Bodley <cbodley@redhat.com>2023-12-21 01:13:14 +0100
commitae7ee5ebab9a728e1f648dfbae1e83f9827cee0b (patch)
tree8c2c50d3cb98affc6897e363de811f7cd5ba3251 /src/rgw/rgw_aio_throttle.h
parentMerge pull request #54936 from ronen-fr/wip-rf-pcnt3 (diff)
downloadceph-ae7ee5ebab9a728e1f648dfbae1e83f9827cee0b.tar.xz
ceph-ae7ee5ebab9a728e1f648dfbae1e83f9827cee0b.zip
Revert "spawn: use explicit strand executor"
This reverts commit 9d9258e06b78bb47fd0156d9bd7bb00b52a726b0. Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_aio_throttle.h')
-rw-r--r--src/rgw/rgw_aio_throttle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/rgw_aio_throttle.h b/src/rgw/rgw_aio_throttle.h
index 89f9c0eef64..c0656ef225e 100644
--- a/src/rgw/rgw_aio_throttle.h
+++ b/src/rgw/rgw_aio_throttle.h
@@ -81,7 +81,7 @@ class BlockingAioThrottle final : public Aio, private Throttle {
// functions must be called within the coroutine strand
class YieldingAioThrottle final : public Aio, private Throttle {
boost::asio::io_context& context;
- yield_context yield;
+ spawn::yield_context yield;
struct Handler;
// completion callback associated with the waiter
@@ -95,7 +95,7 @@ class YieldingAioThrottle final : public Aio, private Throttle {
public:
YieldingAioThrottle(uint64_t window, boost::asio::io_context& context,
- yield_context yield)
+ spawn::yield_context yield)
: Throttle(window), context(context), yield(yield)
{}