From 845f432dc18b096a40c51f623435318fd4a093ed Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 20 Dec 2016 15:43:31 -0500 Subject: [PATCH] osd/PG: do not queue ops for replay We no longer send ACKs, so this can't happen anyway. Signed-off-by: Sage Weil --- src/osd/PG.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index fd9a45fc0c7..aa40f058d30 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5426,15 +5426,6 @@ bool PG::can_discard_op(OpRequestRef& op) return true; } - if (is_replay()) { - if (m->get_version().version > 0) { - dout(7) << " queueing replay at " << m->get_version() - << " for " << *m << dendl; - replay_queue[m->get_version()] = op; - op->mark_delayed("waiting for replay"); - return true; - } - } return false; }