From owner-freebsd-scsi@FreeBSD.ORG Fri Jan 5 17:26:56 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D34B16A40F for ; Fri, 5 Jan 2007 17:26:56 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5812A13C448 for ; Fri, 5 Jan 2007 17:26:56 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (localhost [127.0.0.1]) by ns1.feral.com (8.13.8/8.13.8) with ESMTP id l05HQLHa033584; Fri, 5 Jan 2007 09:26:31 -0800 (PST) (envelope-from mjacob@freebsd.org) Received: from localhost (mjacob@localhost) by ns1.feral.com (8.13.8/8.13.8/Submit) with ESMTP id l05HQLN3033581; Fri, 5 Jan 2007 09:26:21 -0800 (PST) (envelope-from mjacob@freebsd.org) X-Authentication-Warning: ns1.feral.com: mjacob owned process doing -bs Date: Fri, 5 Jan 2007 09:26:21 -0800 (PST) From: mjacob@freebsd.org X-X-Sender: mjacob@ns1.feral.com To: Eric Anderson In-Reply-To: <459E7896.9080504@centtech.com> Message-ID: <20070105092342.V33204@ns1.feral.com> References: <20070104225519.Q92958@ns1.feral.com> <459E7896.9080504@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-scsi@freebsd.org Subject: Re: CAM rescanner thread? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mjacob@freebsd.org List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 17:26:56 -0000 On Fri, 5 Jan 2007, Eric Anderson wrote: > On 01/05/07 00:56, 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. > > Excuse my lameness: > > This means that with this patch, you would no longer need to do a > 'camcontrol rescan ...'? It's not a lame question. It's a good one. Yes-= for SIMs that can call xpt_rescan. That would be isp && mpt. It would apply, btw, also for MPT/SAS. We already have an 'adequate' mechanism for noticing that a drive has gone away. The AC_FOUND_DEVICE doesn't work like you'd expect. It's possible that this just needs to be fixed (to use xpt_rescan :-)). -matt