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. > We could eg use the 'channel' value to refer the relative port number, > so that host & channel act as a fan-out for multipathing. > > James, please apply. Not quite yet ... Hannes, Here is my counter patch for you to consider. I suspect my machine was running into stack problems so I moved some arrays onto the heap. You will see some other small changes if you compare the two patches. My patch is against lk 2.6.19-rc2 Doug Gilbert