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
F97686614: D46038.id141171.diff
Mon, Sep 30, 7:04 PM
F97686600: D46038.id141109.diff
Mon, Sep 30, 7:04 PM
F97686597: D46038.id.diff
Mon, Sep 30, 7:04 PM
F97686581: D46038.id141104.diff
Mon, Sep 30, 7:04 PM
Unknown Object (File)
Wed, Sep 25, 1:59 AM
Unknown Object (File)
Mon, Sep 23, 5:48 AM
Unknown Object (File)
Mon, Sep 23, 12:25 AM
Unknown Object (File)
Sun, Sep 22, 10:51 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 Not Applicable
Unit
Tests Not Applicable

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