If we have and error and are booting verbosely, don't be complaining

if this was a non-retryable selection timeout- wading through 256 targets
worth of Fibre Channel 'selection timeouts' is tedious at best.
This commit is contained in:
Matt Jacob 2001-04-04 18:24:35 +00:00
parent 843f999ce2
commit 34707c9f37

View File

@ -1639,7 +1639,13 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
/*getcount_only*/0);
}
if (error != 0 && bootverbose) {
/*
* If we have and error and are booting verbosely, whine
* *unless* this was a non-retryable selection timeout.
*/
if (error != 0 && bootverbose &&
!(status == CAM_SEL_TIMEOUT && (camflags & CAM_RETRY_SELTO) == 0)) {
if (action_string == NULL)
action_string = "Unretryable Error";