How is supposed to be protected the units list?

Attilio Rao attilio at freebsd.org
Wed Mar 3 21:57:31 UTC 2010


2010/3/3 Matthew Jacob <mj at feral.com>:
> On static review, the only code that makes me nervous are
> ata_shutdown/da_shutdown.
> Those are the only places where you hold that lock across an uncertain
> interval.

Please note that a def mutex is already held (the cam_periph_lock),
so, unless LORs I'm not thinking about, I don't expect too much
surprises for that codepath.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the freebsd-scsi mailing list