scsi-da does not work with INVARIANTS (fwd)

Kenneth D. Merry ken at kdm.org
Mon Aug 25 17:29:57 PDT 2003


On Mon, Aug 25, 2003 at 13:49:30 -0700, Nate Lawson wrote:
> Ken is aware of the following problem.  It is in both cd(4) and da(4) as
> well as stable and current.  One possible approach would be to run
> {da,cd}register() from a task queue and not at interrupt time.

That would be tricky, since the peripheral registration process currently
expects a success/failure return from the peripheral constructor.

Just putting the sysctl creation in a task queue, though, would not be too
difficult.

One question I have, though, is whether task queues run in a thread context
or not.  If not, then we'll have the same problem.

Ken
-- 
Kenneth Merry
ken at kdm.org


More information about the freebsd-stable mailing list