Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately.
MFC after: 2 weeks
This commit is contained in:
parent
d1c926defd
commit
357478a5af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262741
@ -1655,6 +1655,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
|
||||
case CAM_REQ_TOO_BIG:
|
||||
case CAM_LUN_INVALID:
|
||||
case CAM_TID_INVALID:
|
||||
case CAM_FUNC_NOTAVAIL:
|
||||
error = EINVAL;
|
||||
break;
|
||||
case CAM_SCSI_BUS_RESET:
|
||||
|
Loading…
Reference in New Issue
Block a user