View | Details | Raw Unified | Return to bug 212721
Collapse All | Expand All

(-)b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c (-1 / +5 lines)
Lines 2167-2173 storvsc_io_done(struct hv_storvsc_request *reqp) Link Here
2167
			 * If there are errors, for example, invalid LUN,
2167
			 * If there are errors, for example, invalid LUN,
2168
			 * host will inform VM through SRB status.
2168
			 * host will inform VM through SRB status.
2169
			 */
2169
			 */
2170
			ccb->ccb_h.status |= CAM_SEL_TIMEOUT;
2170
			if (storvsc_get_storage_type(sc->hs_dev) == DRIVER_STORVSC) {
2171
				ccb->ccb_h.status |= CAM_SEL_TIMEOUT;
2172
			} else {
2173
				ccb->ccb_h.status |= CAM_DEV_NOT_THERE;
2174
			}
2171
		} else {
2175
		} else {
2172
			ccb->ccb_h.status |= CAM_REQ_CMP;
2176
			ccb->ccb_h.status |= CAM_REQ_CMP;
2173
		}
2177
		}

Return to bug 212721