Page MenuHomeFreeBSD

cam/iosched: Make each periph driver provide schedule fnp
ClosedPublic

Authored by imp on Jul 19 2024, 4:15 AM.
Tags
None
Referenced Files
F165180921: D46038.id141171.diff
Thu, Aug 6, 2:29 PM
Unknown Object (File)
Wed, Aug 5, 2:57 AM
Unknown Object (File)
Sun, Jul 26, 8:38 AM
Unknown Object (File)
Thu, Jul 9, 6:54 PM
Unknown Object (File)
Jul 6 2026, 10:22 PM
Unknown Object (File)
Jul 6 2026, 9:39 PM
Unknown Object (File)
Jul 3 2026, 6:06 AM
Unknown Object (File)
Jul 2 2026, 4:36 PM
Subscribers

Details

Summary

When we init the iosched instance, require clients to provide a schedule
function. We have almost, but not quite everything to know when it is
safe to schedule new I/O. The periph drivers, however, have all the
information, so make them do it when the I/O Scheduler needs to maybe
schedule I/O for rate limiting, etc. and use it to do that.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Jul 19 2024, 4:16 AM

Misc updates with testing

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