Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2014-03-04 15:07:00 +00:00
parent d1c926defd
commit 357478a5af
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262741

View File

@ -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: