HomeFreeBSD

Add cam_iosched_set_latfcn to set a latency callback for high latency.

Description

Add cam_iosched_set_latfcn to set a latency callback for high latency.

It's often useful to have a callback when an I/O takes more than a
threshold amount of time. This adds the infrastructure for periph
devices to register one.

One use-case is as a debugging aide when you need a semi-realtime
indication of an I/O outlier so you can trigger bus capture gear for
vendor analysis.

Sponsored by: Netflix, Inc

Details

Provenance
impAuthored on
Parents
rS340452: Introduce scsi_ata_setfeatures() as a convenient way to make
Branches
Unknown
Tags
Unknown