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
5d18110a7f
commit
cd3752643c
@ -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