hobject_t oid;
epoch_t last_peering_reset;
ceph_tid_t tid;
- ReplicatedPG::CopyOpRef cop;
- C_Copyfrom(ReplicatedPG *p, hobject_t o, epoch_t lpr,
- const ReplicatedPG::CopyOpRef& c)
+ C_Copyfrom(ReplicatedPG *p, hobject_t o, epoch_t lpr)
: pg(p), oid(o), last_peering_reset(lpr),
- tid(0), cop(c)
+ tid(0)
{}
void finish(int r) {
if (r == -ECANCELED)
&cop->rval);
C_Copyfrom *fin = new C_Copyfrom(this, obc->obs.oi.soid,
- get_last_peering_reset(), cop);
+ get_last_peering_reset());
gather.set_finisher(new C_OnFinisher(fin,
&osd->objecter_finisher));