Don't print SCSI Queue Full and CAM_REQUEUE_REQ statuses as errors if they
were handled and retried. They are part of normal operation for SCSI TCQ. MFC after: 3 days
This commit is contained in:
parent
a30facd9c7
commit
84c4de2d47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237446
@ -1354,6 +1354,7 @@ camperiphscsistatuserror(union ccb *ccb, union ccb **orig_ccb,
|
|||||||
}
|
}
|
||||||
*timeout = 0;
|
*timeout = 0;
|
||||||
error = ERESTART;
|
error = ERESTART;
|
||||||
|
*print = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
@ -1683,8 +1684,10 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
|
|||||||
} else if (sense_flags & SF_NO_RETRY) {
|
} else if (sense_flags & SF_NO_RETRY) {
|
||||||
error = EIO;
|
error = EIO;
|
||||||
action_string = "Retry was blocked";
|
action_string = "Retry was blocked";
|
||||||
} else
|
} else {
|
||||||
error = ERESTART;
|
error = ERESTART;
|
||||||
|
print = 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case CAM_RESRC_UNAVAIL:
|
case CAM_RESRC_UNAVAIL:
|
||||||
/* Wait a bit for the resource shortage to abate. */
|
/* Wait a bit for the resource shortage to abate. */
|
||||||
|
Loading…
Reference in New Issue
Block a user