ret.update_call(call);
encode(call, in);
- op.exec("user", "reset_user_stats2", in, &out, &rval);
+ op.exec(cls::user::method::reset_user_stats2, in, &out, &rval);
r = ref.operate(dpp, std::move(op), y, librados::OPERATION_RETURNVEC);
if (r < 0) {
return r;
librados::ObjectWriteOperation op;
op.assert_exists();
- op.exec(RGW_CLASS, RGW_BI_LOG_TRIM, in);
+ op.exec(cls::rgw::method::bi_log_trim, in);
cn = stack->create_completion_notifier();
return bs.bucket_obj.aio_operate(cn->completion(), &op);
cls_rgw_remove_obj(op, prefixes);
}
-void RGWRados::cls_obj_check_prefix_exist(ObjectOperation& op, const string& prefix, bool fail_if_exist)
+void RGWRados::cls_obj_check_prefix_exist(ObjectWriteOperation& op, const string& prefix, bool fail_if_exist)
{
cls_rgw_obj_check_attrs_prefix(op, prefix, fail_if_exist);
}
-void RGWRados::cls_obj_check_mtime(ObjectOperation& op, const real_time& mtime, bool high_precision_time, RGWCheckMTimeType type)
+void RGWRados::cls_obj_check_mtime(ObjectWriteOperation& op, const real_time& mtime, bool high_precision_time, RGWCheckMTimeType type)
{
cls_rgw_obj_check_mtime(op, mtime, high_precision_time, type);
}
int update_placement_map();
void remove_rgw_head_obj(librados::ObjectWriteOperation& op);
- void cls_obj_check_prefix_exist(librados::ObjectOperation& op, const std::string& prefix, bool fail_if_exist);
- void cls_obj_check_mtime(librados::ObjectOperation& op, const real_time& mtime, bool high_precision_time, RGWCheckMTimeType type);
+ void cls_obj_check_prefix_exist(librados::ObjectWriteOperation& op, const std::string& prefix, bool fail_if_exist);
+ void cls_obj_check_mtime(librados::ObjectWriteOperation& op, const real_time& mtime, bool high_precision_time, RGWCheckMTimeType type);
protected:
CephContext* cct{nullptr};