int write_data(const char *buf, int len);
int read_data(char *buf, int len);
int write_data(const char *buf, int len);
int read_data(char *buf, int len);
/* unambiguiously return req_state */
inline struct req_state* get_state() { return this->RGWRequest::s; }
/* unambiguiously return req_state */
inline struct req_state* get_state() { return this->RGWRequest::s; }
- RGWLibRequest(CephContext* _cct, std::unique_ptr<rgw::sal::RGWUser> _user)
- : RGWRequest(rgwlib.get_store()->getRados()->get_new_req_id()),
+ RGWLibRequest(CephContext* _cct, std::unique_ptr<rgw::sal::User> _user)
+ : RGWRequest(rgwlib.get_store()->get_new_req_id()),
RGWRequest::init_state(_s);
RGWHandler::init(rados_ctx->get_store(), _s, io);
RGWRequest::init_state(_s);
RGWHandler::init(rados_ctx->get_store(), _s, io);
- get_state()->sysobj_ctx = &(sysobj_ctx.get());
- get_state()->req_id = store->svc()->zone_utils->unique_id(id);
- get_state()->trans_id = store->svc()->zone_utils->unique_trans_id(id);
+ get_state()->req_id = store->zone_unique_id(id);
+ get_state()->trans_id = store->zone_unique_trans_id(id);
: RGWLibRequest(_cct, std::move(_user)), io_ctx(),
rstate(_cct, &io_ctx.get_env(), id),
rados_ctx(rgwlib.get_store(), &rstate)
: RGWLibRequest(_cct, std::move(_user)), io_ctx(),
rstate(_cct, &io_ctx.get_env(), id),
rados_ctx(rgwlib.get_store(), &rstate)
RGWRequest::init_state(&rstate);
RGWHandler::init(rados_ctx.get_store(), &rstate, &io_ctx);
RGWRequest::init_state(&rstate);
RGWHandler::init(rados_ctx.get_store(), &rstate, &io_ctx);
- get_state()->sysobj_ctx = &(sysobj_ctx.get());
- get_state()->req_id = store->svc()->zone_utils->unique_id(id);
- get_state()->trans_id = store->svc()->zone_utils->unique_trans_id(id);
+ get_state()->req_id = store->zone_unique_id(id);
+ get_state()->trans_id = store->zone_unique_trans_id(id);
ldpp_dout(get_state(), 2) << "initializing for trans_id = "
<< get_state()->trans_id.c_str() << dendl;
}
ldpp_dout(get_state(), 2) << "initializing for trans_id = "
<< get_state()->trans_id.c_str() << dendl;
}