If there is no hit set for a PG, blindly evict objects. This avoids an
assert(hit_set) in agent_estimate_atime_temp().
Fixes: #8982
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
ea4996d3ef15c5d5a776d162b08d9fad6859c976)
}
}
- if (agent_state->evict_mode != TierAgentState::EVICT_MODE_FULL) {
+ if (agent_state->evict_mode != TierAgentState::EVICT_MODE_FULL &&
+ hit_set) {
// is this object old and/or cold enough?
int atime = -1, temp = 0;
agent_estimate_atime_temp(soid, &atime, NULL /*FIXME &temp*/);