Page MenuHomeFreeBSD

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

Authored by trasz on Mon, Mar 29, 1:17 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

trasz requested review of this revision.Mon, Mar 29, 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.Mon, Mar 29, 3:34 PM