Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 09:47:13 -0800 (PST)
From:      mjacob@freebsd.org
To:        Scott Long <scottl@samsco.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: CAM rescanner thread?
Message-ID:  <20070105093930.Y34456@ns1.feral.com>
In-Reply-To: <459E8AE7.90104@samsco.org>
References:  <20070104225519.Q92958@ns1.feral.com> <459E8AE7.90104@samsco.org>

index | next in thread | previous in thread | raw e-mail



On Fri, 5 Jan 2007, Scott Long wrote:

> mjacob@freebsd.org wrote:
>> 
>> Opinions? Seems to do what *I* want for automatically attaching devices for 
>> mpt or isp when they appear on the fabric. All you have to do is
>> alloc a ccb && a path and call xpt_rescan.
>
> Why do you need a separate thread for this?  Many other drivers already 
> handle this just fine.

In CAM?

I did try doing it without a thread and had all sorts of problems that 
led to panics. I suppose I could try and fix that, but it's also true 
that notification that things have changed is almost certainly on an 
ithread and that the begin of a scan starts a heck of a lot of work 
before returning.

D'ya think it's that crucial other than just another proc slot?

-matt



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070105093930.Y34456>