Re: [PATCH] ALUA support for scsi_debug

Hannes Reinecke
2006-10-19T07:08:21Z

Douglas Gilbert wrote:
> Hannes Reinecke wrote:
>> Hi all,
>>
>> I've hacked up scsi_debug to support REPORT TARGET PORT GROUPS.
>> In combination with vpd_use_hostno=0 it'll now support multipathing
>> nicely.
>> Doug, there is reference to port_a and port_b in the VPD page support.
>> However, port_b appearently is just a fake entry with no (virtual)
>> device backing.
>
> Hannes,
> Yes, I was mimicking a SAS drive with the secondary port
> unconnected.
>
Hmm. We could to that, too. Just set the secondary port to unavailable.
Let's see ...

>> We could eg use the 'channel' value to refer the relative port number,
>> so that host & channel act as a fan-out for multipathing.
>
> I'll have a look, perhaps it could be wired when
> vpd_use_hostno=0 .
>
Yep, that would be possible.

>> James, please apply.
>
> Umm, I would like to find out why that patch oopses
> my machine when I load the scsi_debug module.
>
Not my fault (I hope). Patch works when compiling under 2.6.18 ...

Cheers,

Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux Products GmbH S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html