HomeFreeBSD

Don't hold the periph lock when calling into cam_periph_runccb()

Description

Don't hold the periph lock when calling into cam_periph_runccb()
from the ada and da dump routines. This avoids difficult locking
problems from needing to be handled. While it might seem like this
would leave the periphs unprotected during dump, they were aleady
at risk of unexpected removal due to the dump functions not
keeping refcount state across the many calls that come in during
a dump. This is an exercise for future work.

Obtained from: Netflix

Details

Committed
scottlJan 9 2018, 12:10 AM
Parents
rS327709: Protect against a possible NULL deference from an accessor
Branches
Unknown
Tags
Unknown