Page MenuHomeFreeBSD

vtblk: Make vtblk_request_execute return void.
ClosedPublic

Authored by cperciva on Sep 22 2022, 7:00 AM.
Tags
None
Referenced Files
F168699540: D36664.id.diff
Sat, Aug 29, 5:05 PM
Unknown Object (File)
Tue, Aug 18, 6:26 PM
Unknown Object (File)
Wed, Aug 12, 5:21 PM
Unknown Object (File)
Tue, Aug 11, 5:45 AM
Unknown Object (File)
Sun, Aug 9, 10:06 PM
Unknown Object (File)
Sat, Aug 8, 4:45 PM
Unknown Object (File)
Mon, Aug 3, 7:45 AM
Unknown Object (File)
Sun, Aug 2, 4:43 AM
Subscribers

Details

Summary

The error, if any, now gets stashed in the request structure. (Step 1
of reworking this driver to use busdma.)

No functional change intended.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Oct 3 2022, 2:15 AM

This is basically what CAM does and most of the SIMs inside of CAM: requests are queued and eventually they get tagged with an error when they complete.
It's also what the non-CAM drivers do when they have a work queue that needs to deal with resource shortages and limited queue depth.