osd/PrimaryLogPG: remove unused reply creation path

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2019-09-30 10:45:26 -05:00
parent 2042f661b6
commit 6c10712959

View File

@ -2589,10 +2589,6 @@ void PrimaryLogPG::record_write_error(OpRequestRef op, const hobject_t &soid,
auto m = op->get_req<MOSDOp>();
int flags = m->get_flags() & (CEPH_OSD_FLAG_ACK | CEPH_OSD_FLAG_ONDISK);
MOSDOpReply *reply = orig_reply.detach();
if (reply == nullptr) {
reply = new MOSDOpReply(m, r, pg->get_osdmap_epoch(),
flags, true);
}
ldpp_dout(pg, 10) << " sending commit on " << *m << " " << reply << dendl;
pg->osd->send_message_osd_client(reply, m->get_connection());
}