From owner-cvs-src@FreeBSD.ORG Fri Sep 16 02:34:10 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A7F916A41F; Fri, 16 Sep 2005 02:34:10 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB98C43D45; Fri, 16 Sep 2005 02:34:07 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id j8G2Y3C8003743; Thu, 15 Sep 2005 20:34:03 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <432A2F1F.3080606@samsco.org> Date: Thu, 15 Sep 2005 20:34:07 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <200509160126.j8G1QI6n043132@repoman.freebsd.org> <432A2970.8090200@centtech.com> In-Reply-To: <432A2970.8090200@centtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Matt Jacob , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam cam_xpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 02:34:10 -0000 Eric Anderson wrote: > Matt Jacob wrote: > >> mjacob 2005-09-16 01:26:17 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/cam cam_xpt.c Log: >> Make the exploring of all luns supported by an HBA more of a >> tunable (until we get REPORT LUNS in place). >> >> If we're probing luns, and each probe succeeds, we keep going past >> lun 7 if we're a SCSI3 or better device (until we fail to probe). >> >> If we're probing luns, and a probe fails, we only keep going if >> we're quirked *for* it (CAM_QUIRK_HILUNS), and if we're not quirked >> *against* it (CAM_QUIRK_NOHILUNS), or we're a SCSI3 or better device >> and the tunable (kern.cam.cam_srch_hi) is set non-zero. >> >> Reviewed by: nate@rootlabs.org, gibbs@scsiguy.com, ken@kdm.com, >> scottl@samsco.org >> MFC after: 1 week >> >> Revision Changes Path >> 1.156 +38 -5 src/sys/cam/cam_xpt.c >> >> > > Matt, do you think this would fix issues with Qlogic (FC) cards scanning > and finding duplicate luns on some FC devices? (I see that in 6.0, but > not in 5.x). > > Eric > > We added more aggressive LUN scanning code into 6-CURRENT a few months ago, but didn't merge it back to 5-STABLE precisely becasue we knew that it might cause problems. This commit will hopefully address those problems by making the scanning less aggressive by default but more configurable. Scott