Page MenuHomeFreeBSD

cam: Rename cam_iosched_bio_complete to cam_iosched_bio_update_stats
ClosedPublic

Authored by imp on Sun, Oct 4, 7:11 PM.
Tags
None
Referenced Files
F175418697: D60349.id188655.diff
Sat, Oct 10, 5:41 PM
F175364940: D60349.id188908.diff
Sat, Oct 10, 7:46 AM
F175350872: D60349.id188655.diff
Sat, Oct 10, 5:19 AM
F175310216: D60349.id188655.diff
Fri, Oct 9, 8:55 PM
Unknown Object (File)
Fri, Oct 9, 6:51 PM
Unknown Object (File)
Fri, Oct 9, 7:23 AM
Unknown Object (File)
Fri, Oct 9, 2:23 AM
Unknown Object (File)
Thu, Oct 8, 10:43 PM
Subscribers

Details

Summary

The function updates scheduler statistics but does not complete the
bio. Rename it to avoid implying ownership of bio completion.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Sun, Oct 4, 7:11 PM

If you can add the assert and test if not we can do that in a separate diff.

sys/cam/cam_iosched.c
1781

Probably a good spot for a cam_periph_assert(... , MA_OWNED);

This revision is now accepted and ready to land.Tue, Oct 6, 6:25 PM
sys/cam/cam_iosched.c
1781

out of scope for this commit.
It's another patch on this stack though.