cache pool is full
To preserve read op order
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
if (agent_state &&
agent_state->evict_mode == TierAgentState::EVICT_MODE_FULL) {
if (!op->may_write() && !op->may_cache() && !write_ordered) {
- dout(20) << __func__ << " cache pool full, redirecting read" << dendl;
- do_cache_redirect(op, obc);
+ dout(20) << __func__ << " cache pool full, proxying read" << dendl;
+ do_proxy_read(op);
return true;
}
dout(20) << __func__ << " cache pool full, waiting" << dendl;