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
Unknown Object (File)
Sat, Oct 3, 6:37 PM
Unknown Object (File)
Sat, Oct 3, 3:08 AM
Unknown Object (File)
Sat, Oct 3, 3:07 AM
Unknown Object (File)
Sat, Oct 3, 2:40 AM
Unknown Object (File)
Sun, Sep 20, 11:58 AM
Unknown Object (File)
Mon, Sep 14, 2:15 PM
Unknown Object (File)
Sat, Sep 12, 11:16 PM
Unknown Object (File)
Sep 12 2026, 8:20 AM
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