Page MenuHomeFreeBSD

vtblk: Make vtblk_request_execute return void.
ClosedPublic

Authored by cperciva on Sep 22 2022, 7:00 AM.
Tags
None
Referenced Files
F132312080: D36664.diff
Wed, Oct 15, 7:07 PM
Unknown Object (File)
Fri, Oct 3, 2:57 AM
Unknown Object (File)
Tue, Sep 30, 5:11 AM
Unknown Object (File)
Thu, Sep 25, 1:48 PM
Unknown Object (File)
Thu, Sep 18, 9:23 AM
Unknown Object (File)
Aug 15 2025, 12:06 AM
Unknown Object (File)
Aug 8 2025, 11:20 AM
Unknown Object (File)
Jul 24 2025, 3:52 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.