Page MenuHomeFreeBSD

cam: add hw.cam.iosched.read_bias
ClosedPublic

Authored by imp on Feb 24 2022, 12:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 2:21 PM
Unknown Object (File)
Fri, Oct 10, 10:11 AM
Unknown Object (File)
Fri, Oct 10, 10:08 AM
Unknown Object (File)
Sat, Oct 4, 3:51 PM
Unknown Object (File)
Tue, Sep 23, 5:52 AM
Unknown Object (File)
Sep 3 2025, 3:57 PM
Unknown Object (File)
Aug 7 2025, 2:28 AM
Unknown Object (File)
Aug 1 2025, 1:08 PM
Subscribers
None

Details

Reviewers
chs
Group Reviewers
cam
Commits
rGd592c0db8ba7: cam: add hw.cam.iosched.read_bias
Summary

Allow a global setting for the read_bias for the dynamic io
scheduler. This allows global policy to be set, in addition to the
existing per-drive policy. kern.cam.iosched.read_bias is a new tunable.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44561
Build 41449: arc lint + arc unit

Event Timeline

imp requested review of this revision.Feb 24 2022, 12:20 AM
chs added inline comments.
sys/cam/cam_iosched.c
1246

this "val" parameter isn't used if the "ptr" parameter immediate before it is non-NULL, so you might as well just leave val 0 here.

This revision is now accepted and ready to land.Feb 24 2022, 12:50 AM
This revision was automatically updated to reflect the committed changes.