Page MenuHomeFreeBSD

cam/iosched: Add a counter of I/Os that take too long
ClosedPublic

Authored by imp on Jul 18 2024, 10:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 5:13 AM
Unknown Object (File)
Fri, Oct 3, 12:33 AM
Unknown Object (File)
Sat, Sep 27, 1:58 AM
Unknown Object (File)
Thu, Sep 25, 4:26 PM
Unknown Object (File)
Thu, Sep 25, 3:03 PM
Unknown Object (File)
Wed, Sep 24, 6:13 PM
Unknown Object (File)
Aug 23 2025, 10:27 PM
Unknown Object (File)
Aug 21 2025, 12:02 PM
Subscribers
None

Details

Summary

Add kern.cam.DEV.UNIT.iosched.too_long (to count I/Os taking too long)
and kern.cam.DEV.UNIT.bad_latency (to set this threshold, defaults to
500ms). Each class of I/O (read, write, trim) has its own counters and
thresholds.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58721
Build 55609: arc lint + arc unit

Event Timeline

Misc updates with testing

This revision is now accepted and ready to land.Jul 19 2024, 3:25 PM