hobject_t h(sobject_t(oid.substr(sep+1), 0));
h.pool = 0;
- t->write(c, h, offset, bl.length(), bl);
+ t->write(c, ghobject_t(h), offset, bl.length(), bl);
if (write_infos) {
bufferlist bl2;
for (uint64_t j = 0; j < 128; ++j) bl2.append(0);
coll_t meta;
hobject_t info(sobject_t(string("info_")+coll_str, 0));
- t->write(meta, info, 0, bl2.length(), bl2);
+ t->write(meta, ghobject_t(info), 0, bl2.length(), bl2);
}
os->queue_transaction(
assert(valid_coll);
hobject_t h(sobject_t(oid.substr(sep+1), 0));
h.pool = 0;
- os->read(c, h, offset, length, *bl);
+ os->read(c, ghobject_t(h), offset, length, *bl);
finisher.queue(on_complete);
}