Re: [PATCH 4/7] Fix various bugs in the target code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-08-11 at 11:12 -0400, Alan Stern wrote:
> On Mon, 10 Aug 2009, James Bottomley wrote:
> 
> > > 	scsi_sysfs_add_sdev() would call transport_configure_device()
> > > 	for a target each time a new device was added under that
> > > 	target.  The call has been moved to scsi_target_add(), where
> > > 	it will be made only once.
> > 
> > That, unfortunately is an SPI required feature ... we can't actually
> > configure the target until we have a device because of the way SPI
> > parameters work.
> 
> Would it be sufficient to call transport_configure_device() only the
> first time a device is added?

No, because of renegotiations ... it would be sufficient only to call it
the last time a device is added, but we don't know when that will be.

James


--
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux