Page MenuHomeFreeBSD

vtblk: Make vtblk_request_execute return void.
ClosedPublic

Authored by cperciva on Sep 22 2022, 7:00 AM.
Tags
None
Referenced Files
F156619452: D36664.id.diff
Fri, May 15, 4:16 AM
F156585181: D36664.id111898.diff
Thu, May 14, 9:16 PM
Unknown Object (File)
Tue, May 12, 1:19 AM
Unknown Object (File)
Wed, May 6, 8:45 PM
Unknown Object (File)
Wed, May 6, 11:17 AM
Unknown Object (File)
Sun, May 3, 5:40 PM
Unknown Object (File)
Sat, Apr 25, 3:46 AM
Unknown Object (File)
Sun, Apr 19, 1:43 PM
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.