int RGWAsyncGetBucketInstanceInfo::_send_request()
{
RGWSysObjectCtx obj_ctx = store->svc.sysobj->init_obj_ctx();
- int r = store->get_bucket_instance_from_oid(obj_ctx, oid, bucket_info, NULL, NULL);
+ int r = store->get_bucket_instance_from_oid(obj_ctx, oid, bucket_info, NULL, NULL, null_yield);
if (r < 0) {
ldout(store->ctx(), 0) << "ERROR: failed to get bucket instance info for "
<< oid << dendl;
string oid = RGW_BUCKET_INSTANCE_MD_PREFIX + meta_key;
rgw_bucket_instance_key_to_oid(oid);
- return get_bucket_instance_from_oid(obj_ctx, oid, info, pmtime, pattrs);
+ return get_bucket_instance_from_oid(obj_ctx, oid, info, pmtime, pattrs, y);
}
int RGWRados::get_bucket_instance_info(RGWSysObjectCtx& obj_ctx, const rgw_bucket& bucket, RGWBucketInfo& info,
oid = bucket.oid;
}
- return get_bucket_instance_from_oid(obj_ctx, oid, info, pmtime, pattrs);
+ return get_bucket_instance_from_oid(obj_ctx, oid, info, pmtime, pattrs, y);
}
int RGWRados::get_bucket_instance_from_oid(RGWSysObjectCtx& obj_ctx, const string& oid, RGWBucketInfo& info,
real_time *pmtime, map<string, bufferlist> *pattrs,
+ optional_yield y,
rgw_cache_entry_info *cache_info,
boost::optional<obj_version> refresh_version)
{
rgw_cache_entry_info cache_info;
- ret = get_bucket_instance_from_oid(obj_ctx, oid, e.info, &e.mtime, &e.attrs,
+ ret = get_bucket_instance_from_oid(obj_ctx, oid, e.info, &e.mtime, &e.attrs, y,
&cache_info, refresh_version);
e.info.ep_objv = ot.read_version;
info = e.info;
boost::optional<obj_version> refresh_version = boost::none);
int get_bucket_instance_info(RGWSysObjectCtx& obj_ctx, const string& meta_key, RGWBucketInfo& info, ceph::real_time *pmtime, map<string, bufferlist> *pattrs, optional_yield y);
int get_bucket_instance_info(RGWSysObjectCtx& obj_ctx, const rgw_bucket& bucket, RGWBucketInfo& info, ceph::real_time *pmtime, map<string, bufferlist> *pattrs, optional_yield y);
- int get_bucket_instance_from_oid(RGWSysObjectCtx& obj_ctx, const string& oid, RGWBucketInfo& info, ceph::real_time *pmtime, map<string, bufferlist> *pattrs,
+ int get_bucket_instance_from_oid(RGWSysObjectCtx& obj_ctx, const string& oid, RGWBucketInfo& info, ceph::real_time *pmtime, map<string, bufferlist> *pattrs, optional_yield y,
rgw_cache_entry_info *cache_info = NULL,
boost::optional<obj_version> refresh_version = boost::none);