Don't report to devd statuses that CAM doesn't consider errors.
Some statuses, such as "ATA pass through information available", are part part of absolutely normal operation and do not worth reporting. MFC after: 2 weeks
This commit is contained in:
parent
aa0cd102ec
commit
e1082e7f85
@ -1772,7 +1772,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
|
||||
xpt_print(ccb->ccb_h.path, "Retrying command\n");
|
||||
}
|
||||
|
||||
if (devctl_err)
|
||||
if (devctl_err && (error != 0 || (action & SSQ_PRINT_SENSE) != 0))
|
||||
cam_periph_devctl_notify(orig_ccb);
|
||||
|
||||
if ((action & SSQ_LOST) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user