summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_tools.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-02-15 04:36:46 +0100
committerCasey Bodley <cbodley@redhat.com>2024-05-13 18:13:39 +0200
commit675df440fc2f9a64228db74ce1004bc393f09e86 (patch)
treef035cc520265185b3d34622680d20ca87141835c /src/rgw/driver/rados/rgw_tools.cc
parentcommon/async: SharedMutex uses async_initiate (diff)
downloadceph-675df440fc2f9a64228db74ce1004bc393f09e86.tar.xz
ceph-675df440fc2f9a64228db74ce1004bc393f09e86.zip
librados/asio: functions use async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_tools.cc')
-rw-r--r--src/rgw/driver/rados/rgw_tools.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/rados/rgw_tools.cc b/src/rgw/driver/rados/rgw_tools.cc
index c143875538a..41254f9519e 100644
--- a/src/rgw/driver/rados/rgw_tools.cc
+++ b/src/rgw/driver/rados/rgw_tools.cc
@@ -207,7 +207,7 @@ int rgw_rados_operate(const DoutPrefixProvider *dpp, librados::IoCtx& ioctx, con
auto& yield = y.get_yield_context();
boost::system::error_code ec;
auto bl = librados::async_operate(
- context, ioctx, oid, op, flags, yield[ec]);
+ context, ioctx, oid, op, flags, trace_info, yield[ec]);
if (pbl) {
*pbl = std::move(bl);
}
@@ -231,7 +231,7 @@ int rgw_rados_operate(const DoutPrefixProvider *dpp, librados::IoCtx& ioctx, con
auto& context = y.get_io_context();
auto& yield = y.get_yield_context();
boost::system::error_code ec;
- librados::async_operate(context, ioctx, oid, op, flags, yield[ec], trace_info);
+ librados::async_operate(context, ioctx, oid, op, flags, trace_info, yield[ec]);
return -ec.value();
}
if (is_asio_thread) {