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)
Mon, Dec 15, 1:33 PM
Unknown Object (File)
Thu, Nov 27, 4:02 PM
Unknown Object (File)
Nov 20 2025, 8:01 AM
Unknown Object (File)
Nov 20 2025, 4:50 AM
Unknown Object (File)
Nov 16 2025, 10:57 PM
Unknown Object (File)
Nov 16 2025, 2:17 PM
Unknown Object (File)
Nov 11 2025, 8:02 PM
Unknown Object (File)
Nov 3 2025, 2:43 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