Lines 2173-2192
storvsc_io_done(struct hv_storvsc_request *reqp)
Link Here
|
2173 |
scsi_op_desc(cmd->opcode, NULL)); |
2173 |
scsi_op_desc(cmd->opcode, NULL)); |
2174 |
} |
2174 |
} |
2175 |
} |
2175 |
} |
2176 |
|
2176 |
ccb->ccb_h.status |= CAM_DEV_NOT_THERE; |
2177 |
/* |
|
|
2178 |
* XXX For a selection timeout, all of the LUNs |
2179 |
* on the target will be gone. It works for SCSI |
2180 |
* disks, but does not work for IDE disks. |
2181 |
* |
2182 |
* For CAM_DEV_NOT_THERE, CAM will only get |
2183 |
* rid of the device(s) specified by the path. |
2184 |
*/ |
2185 |
if (storvsc_get_storage_type(sc->hs_dev) == |
2186 |
DRIVER_STORVSC) |
2187 |
ccb->ccb_h.status |= CAM_SEL_TIMEOUT; |
2188 |
else |
2189 |
ccb->ccb_h.status |= CAM_DEV_NOT_THERE; |
2190 |
} else { |
2177 |
} else { |
2191 |
ccb->ccb_h.status |= CAM_REQ_CMP; |
2178 |
ccb->ccb_h.status |= CAM_REQ_CMP; |
2192 |
} |
2179 |
} |