From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Zeuthen Date: Mon, 12 Jul 2010 14:47:00 +0000 Subject: Re: [PATCH] path_id: Handle SAS and SATA devices Message-Id: <1278946020.16750.0.camel@localhost.localdomain> List-Id: References: <20100707145508.A42312A2B9@ochil.suse.de> In-Reply-To: <20100707145508.A42312A2B9@ochil.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 2010-07-12 at 11:07 +0200, Kay Sievers wrote: > On Wed, Jul 7, 2010 at 16:55, Hannes Reinecke wrote: > > > > SAS devices should be referenced by the SAS address of the target; > > on the initiator side we assume an identity mapping between SAS > > addresses and PCI devnumber. > > SATA devices have an identity mapping between SATA links and > > linux scsi_host structures, so we can map the host number onto > > the SATA link. > > For this to work the LUN numbering needs to be updated, too, > > as SATA devices do not have the concept of a LUN, whereas normal > > SCSI devices have. > > David, any chance to give this a try on your SAS box, and see if this > works as expected for you too? Sure, will do later this week - it's currently powered off and in a moving box! Thanks, David