On 06/19/2011 06:48 AM, Bart Van Assche wrote: > diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c > index 3d391dc..c31adf5 100644 > --- a/drivers/scsi/ibmvscsi/ibmvscsi.c > +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c > @@ -498,6 +498,11 @@ static void purge_requests(struct ibmvscsi_host_data *hostdata, int error_code) > spin_unlock_irqrestore(hostdata->host->host_lock, flags); > } > > +static int ibmvscsi_target_alloc(struct scsi_target *starget) > +{ > + return starget->channel == 0 ? 0 : -ENODEV; > +} > + This will break existing IBM Power users who have more than 64 virtual disks assigned to a single virtual scsi adapter. The IBM VSCSI target uses Logical Unit Addressing (10b) and does bus/id/lun -> vscsi LUN mapping as defined in SAM. The 65'th virtual scsi disk would show up on bus 1 as target 0. Thanks, Brian -- Brian King Linux on Power Virtualization IBM Linux Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html