From b1f078bc22c40f8937c10e8587d85b1e3ceeff6a Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Mon, 30 Mar 2015 13:22:26 -0700 Subject: [PATCH] ReplicatedPG: requeue waiting_for_active before waiting_for_cache_not_full The waiting_for_cache_not_full waiters must be dequeued first. Fixes: 11267 Backport: firefly Signed-off-by: Samuel Just --- src/osd/ReplicatedPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index b705ae22f3a08..a49a2ff2f2a9a 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -11011,8 +11011,8 @@ void ReplicatedPG::agent_choose_mode(bool restart) << dendl; if (agent_state->evict_mode == TierAgentState::EVICT_MODE_FULL && is_active()) { - requeue_ops(waiting_for_cache_not_full); requeue_ops(waiting_for_active); + requeue_ops(waiting_for_cache_not_full); } agent_state->evict_mode = evict_mode; } -- 2.39.5