diff --git a/motr/io_nw_xfer.c b/motr/io_nw_xfer.c index 816756ba658..214bcd61e50 100644 --- a/motr/io_nw_xfer.c +++ b/motr/io_nw_xfer.c @@ -1928,8 +1928,14 @@ static int nw_xfer_req_dispatch(struct nw_xfer_request *xfer) * The units needed for recvoery are ready. */ M0_ASSERT(ioreq_sm_state(ioo) == IRS_DEGRADED_READING); - M0_ASSERT(op->op_code == M0_OC_READ && - instance->m0c_config->mc_is_read_verify); + if (op->op_code == M0_OC_READ && + instance->m0c_config->mc_is_read_verify) { + M0_LOG(M0_DEBUG, "As per design in Read verify mode"); + } else { + M0_LOG(M0_ERROR, "More than K targets are offline"); + rc = -EIO; + } + ioreq_sm_state_set_locked(ioo, IRS_READ_COMPLETE); } else if (rc == 0) xfer->nxr_state = NXS_INFLIGHT;