The call you are looking for in the pic is scsi_scan_host. We do not
call this in the kernel anymore. Instead we basically call it from
userspace by doing the echo - - - > .... scan from iscsid. In the end
the same code in the kernel is called.




On 02/25/2013 12:24 PM, Don Williams wrote:
> Also found this link on the open-iscsi website.  Which has info on the
> process.
> 
> http://www.open-iscsi.org/docs/open-iscsi-1.jpg
> 
> 
> On 02/23/2013 06:38 AM, Aastha Mehta wrote:
>> Hello,
>>
>> I am trying to understand how a device is discovered by the initiator
>> and registered at the client side. Specifically I would like to know
>> how does the target show up as a /dev/sd* to the client.
>>
>> I see in the kernel code a iscsi_endpoint structure which holds a
>> device and a connection for the device. But I am not sure if and how
>> this endpoint is used.
>>
>> Or else, where is the device structure maintained at the initiator for
>> a particular iscsi target?
>>
>> If there is any documentation available on this, clearly I have missed
>> it. Please direct me to the same.
>>
>> Thanks in advance.
>>
>> Regards,
>> Aastha.
>>
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to