Page MenuHomeFreeBSD

cam: add hw.cam.iosched.read_bias
ClosedPublic

Authored by imp on Feb 24 2022, 12:20 AM.
Tags
None
Referenced Files
F108310134: D34365.id105621.diff
Thu, Jan 23, 6:36 PM
Unknown Object (File)
Dec 9 2024, 7:15 AM
Unknown Object (File)
Nov 17 2024, 10:31 AM
Unknown Object (File)
Oct 2 2024, 7:27 PM
Unknown Object (File)
Sep 28 2024, 2:05 PM
Unknown Object (File)
Sep 27 2024, 5:29 PM
Unknown Object (File)
Sep 25 2024, 11:39 PM
Unknown Object (File)
Sep 23 2024, 12:38 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.