There should be no need to retry when the CCB status code is

CAM_LUN_INVALID or CAM_TID_INVALID. Retries were being triggered
here when a umass device was unplugged, and while the retries
themselves are probably harmless, they complicated finding the real
SIM removal problems.
This commit is contained in:
Ian Dowse 2006-01-08 20:04:55 +00:00
parent b85f5cf149
commit 9a014e6f69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154119

View File

@ -1656,6 +1656,8 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
case CAM_NO_HBA:
case CAM_PROVIDE_FAIL:
case CAM_REQ_TOO_BIG:
case CAM_LUN_INVALID:
case CAM_TID_INVALID:
error = EINVAL;
break;
case CAM_SCSI_BUS_RESET: