diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index f1911c13f947b..046e07a755c86 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -11409,8 +11409,7 @@ bool ReplicatedPG::agent_maybe_evict(ObjectContextRef& obc) // FIXME: ignore temperature for now. - // KISS: if [lower,upper] spans our target effort, evict it. - if (atime_lower >= agent_state->evict_effort) + if (1000000 - atime_upper >= agent_state->evict_effort) return false; }