If we are not write ordered, continue with cache checks so that we can
(among other things) proxy reads while promoting.
Note that this may reorder reads for clients, but we've decided that's okay.
Signed-off-by: Sage Weil <sage@redhat.com>
<< " missing_oid " << missing_oid
<< dendl;
- if (obc.get() && obc->is_blocked()) {
+ // if it is write-ordered and blocked, stop now
+ if (obc.get() && obc->is_blocked() && write_ordered) {
// we're already doing something with this object
dout(20) << __func__ << " blocked on " << obc->obs.oi.soid << dendl;
return false;