Re: [RFC] SAS domain layout for Linux sysfs

Christoph Hellwig
2005-04-25T18:18:40Z

On Mon, Apr 25, 2005 at 01:21:39PM -0400, Luben Tuikov wrote:
> You're are stating that:
> 1) You "only ever care about what's seen from a HA",
> 2) "if you have muliple SPI cards that are on a single parallel
> bus you'll have the same bus represented twice"
> 3) "we have a scsi_device object for every lun
> that's seen from a hba, linked to the HBAs Scsi_Host object
> and not one shared by multiple HBAs"
>
> So in effect, you _want_ duplication, right? This is perfectly OK.
> In fact it is desirable (and has never been under question).

Yes.

> This isn't directly related to the RFC. The RFC basically
> outlines the result of *a SAS discovery process*. The discovery
> process/LLDD can register the LU many times. This has *never* been an
> issue of discussion.

The point is that discovery must happen for each HBA separately because
we absolutely do not want to have global state.