mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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:
parent
b85f5cf149
commit
9a014e6f69
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue