::encode(*poi, bv, get_osdmap()->get_features(CEPH_ENTITY_TYPE_OSD, nullptr));
t->clone(coid, head);
- setattr_maybe_cache(obc, ctx, t, OI_ATTR, bv);
- rmattr_maybe_cache(obc, ctx, t, SS_ATTR);
+ setattr_maybe_cache(obc, t, OI_ATTR, bv);
+ rmattr_maybe_cache(obc, t, SS_ATTR);
}
void PrimaryLogPG::make_writeable(OpContext *ctx)
map <string, bufferlist> attrs;
attrs[OI_ATTR].claim(boi);
attrs[SS_ATTR].claim(bss);
- setattrs_maybe_cache(ctx->obc, ctx.get(), ctx->op_t.get(), attrs);
+ setattrs_maybe_cache(ctx->obc, ctx->op_t.get(), attrs);
ctx->log.push_back(
pg_log_entry_t(
pg_log_entry_t::MODIFY,
void PrimaryLogPG::setattr_maybe_cache(
ObjectContextRef obc,
- OpContext *op,
PGTransaction *t,
const string &key,
bufferlist &val)
void PrimaryLogPG::setattrs_maybe_cache(
ObjectContextRef obc,
- OpContext *op,
PGTransaction *t,
map<string, bufferlist> &attrs)
{
void PrimaryLogPG::rmattr_maybe_cache(
ObjectContextRef obc,
- OpContext *op,
PGTransaction *t,
const string &key)
{