From: Maxim Kozover Subject: Re: Re: problems with scsi_transport_fc and qla2xxx Date: Mon, 06 Mar 2006 23:09:51 +0300 Message-ID: <1119462161.20060306230951@netvision.net.il> References: <1413265398.20060227150526@netvision.net.il> <978150825.20060227210552@netvision.net.il> <20060228221422.282332ef.akpm@osdl.org> <4406034B.9030105@madness.at> <20060301210802.GA7288@spe2> <957728045.20060302193248@netvision.net.il> <170fa0d20603061200y38315a62uf143258c79659381@mail.gmail.com> Reply-To: Maxim Kozover Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: Received: from mxout1.netvision.net.il ([194.90.9.20]:17701 "EHLO mxout1.netvision.net.il") by vger.kernel.org with ESMTP id S1752427AbWCFVJ0 (ORCPT ); Mon, 6 Mar 2006 16:09:26 -0500 In-reply-to: <170fa0d20603061200y38315a62uf143258c79659381@mail.gmail.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Mike Snitzer Cc: Andrew Vasquez , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Hi Mike! Unfortunately I don't have the directory /proc/scsi/qla2xxx. However the target sees PRLI from the host again after reconnecting the cable between the initiator and the switch. Does it mean the rediscovering new devices on initiator side is already done? Thanks, Maxim. MS> Historically the qlogic driver rescan is a 2-phase process: MS> 1) schedule the rescan, e.g.: echo scsi-qlascan > /proc/scsi/qla2xxx/4 MS> 2) rescan, e.g.: echo - - - > /sys/class/scsi_host/host4/scan MS> BUT, I've just used scsi-qlascan to discover _new_ devices... not MS> existing devices that experienced FC connection loss. I assume the MS> qla driver _should_ just bring those lost devices back? But does the MS> historic 2-phase rescan for new devices speak to why the qlogic driver MS> doesn't automagically bring the old devices back? Or has the latest MS> qlogic driver in mainline advanced past this 2-phase requirement in MS> general? MS> regards, MS> Mike MS> Mike