Page MenuHomeFreeBSD

cam: make sure to clear CCBs allocated on the stack
ClosedPublic

Authored by trasz on Mar 29 2021, 1:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 8:01 AM
Unknown Object (File)
Thu, Nov 20, 4:50 AM
Unknown Object (File)
Sun, Nov 16, 10:57 PM
Unknown Object (File)
Sun, Nov 16, 2:17 PM
Unknown Object (File)
Tue, Nov 11, 8:02 PM
Unknown Object (File)
Mon, Nov 3, 2:43 AM
Unknown Object (File)
Sun, Nov 2, 1:36 AM
Unknown Object (File)
Wed, Oct 29, 11:46 AM
Subscribers

Details

Summary

This is required for small CCBs support, where we need to track
whether the CCB was allocated from an UMA zone or not. There are
no (intended) functional changes with the current source.

Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

Diff Detail

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

Event Timeline

trasz requested review of this revision.Mar 29 2021, 1:18 PM

As far as I can tell, this looks good. The only thing I worry about is the full CCB we allocate on the stack in the XPT_DEBUG case. but that worry is unrelated to this code review.

This revision is now accepted and ready to land.Mar 29 2021, 3:34 PM