_do_push(op);
}
}
- void do_pull(OpRequestRef op) {}
- void do_push_reply(OpRequestRef op) {}
+ void do_pull(OpRequestRef op);
+ void do_push_reply(OpRequestRef op);
bool handle_push_reply(int peer, PushReplyOp &op, PushOp *reply) { return true; }
void handle_pull(int peer, PullOp &op, PushOp *reply) {}
get_parent()->queue_transaction(t);
}
-void ReplicatedPG::do_pull(OpRequestRef op)
+void ReplicatedBackend::do_pull(OpRequestRef op)
{
MOSDPGPull *m = static_cast<MOSDPGPull *>(op->request);
assert(m->get_header().type == MSG_OSD_PG_PULL);
send_pushes(m->get_priority(), replies);
}
-void ReplicatedPG::do_push_reply(OpRequestRef op)
+void ReplicatedBackend::do_push_reply(OpRequestRef op)
{
MOSDPGPushReply *m = static_cast<MOSDPGPushReply *>(op->request);
assert(m->get_header().type == MSG_OSD_PG_PUSH_REPLY);
ThreadPool::TPHandle &handle);
void do_backfill(OpRequestRef op);
- void do_pull(OpRequestRef op);
- void do_push_reply(OpRequestRef op);
RepGather *trim_object(const hobject_t &coid);
void snap_trimmer();
int do_osd_ops(OpContext *ctx, vector<OSDOp>& ops);