]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: rados: pass yield context in a few places
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 1 Dec 2021 21:26:27 +0000 (13:26 -0800)
committerKalpesh Pandya <kapandya@redhat.com>
Mon, 19 Jun 2023 21:48:30 +0000 (03:18 +0530)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/driver/rados/rgw_rados.cc

index b886f1309a2835636b988b5aaa9f6d96d59734e9..e7268c3584af33c34348d10ccf7aa99f79913641 100644 (file)
@@ -3203,7 +3203,7 @@ int RGWRados::Object::Write::_do_write_meta(const DoutPrefixProvider *dpp,
   auto& ioctx = ref.pool.ioctx();
 
   tracepoint(rgw_rados, operate_enter, req_id.c_str());
-  r = rgw_rados_operate(dpp, ref.pool.ioctx(), ref.obj.oid, &op, null_yield);
+  r = rgw_rados_operate(dpp, ref.pool.ioctx(), ref.obj.oid, &op, y);
   tracepoint(rgw_rados, operate_exit, req_id.c_str());
   if (r < 0) { /* we can expect to get -ECANCELED if object was replaced under,
                 or -ENOENT if was removed, or -EEXIST if it did not exist