On Tue, 1 Nov 2005, Roland Dreier wrote: >I'm missing something here. The SRP initiator registers itself with >the SCSI midlayer after it has successfully connected to the target >port, so I don't see why it can't pass exactly the right sg_tablesize >value to the SCSI midlayer.
The current code sets the sg_tablesize prior to the call to scsi_host_alloc() which is done at the time the target is added, not at the time of the connection to the target. If sg_tablesize can be modified/supplied with the scsi_add_host() call, then the SRP initiator could pass it at connect time. John _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
