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:
Alexander Motin 2012-06-22 16:20:13 +00:00
parent a30facd9c7
commit 84c4de2d47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237446

View File

@ -1354,6 +1354,7 @@ camperiphscsistatuserror(union ccb *ccb, union ccb **orig_ccb,
}
*timeout = 0;
error = ERESTART;
*print = 0;
break;
}
/* FALLTHROUGH */
@ -1683,8 +1684,10 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
} else if (sense_flags & SF_NO_RETRY) {
error = EIO;
action_string = "Retry was blocked";
} else
} else {
error = ERESTART;
print = 0;
}
break;
case CAM_RESRC_UNAVAIL:
/* Wait a bit for the resource shortage to abate. */