RE: [PATCH] mptsas: eliminate ghost devices

Moore, Eric
2006-06-30T23:28:08Z

On Friday, June 30, 2006 4:59 PM, James Bottomley wrote:

>
> Yes, but we want an end device for a remote HBA, which your condition
> would also eliminate. It shows useful information (like sas
> address and
> parameters).

Yes good point. My thinking was the data is there on the host system
having
the remote HBA.

>
> > If the remote initiator is located beyond the 1st leve expander, or
> > direct
> > connected to each other, this condition will not entered.
>
> Right ... here we'll see the end device, so if we go with your patch
> we'd see an end device for a remote HBA connected to a second level
> expander but not for a first level one. Whatever happens, we
> need to be
> consistent ...
>

Agreed. Your doing referencing checking with host sas address, so
the only rphys removed are those pointing back to the host, and not
other initiators. So other initiators can exist on the 1st level
expanders,
as well as 2nd, 3rd, and so one. Okay your patch is fine. Apply.

Eric