[openib-general] [PATCH 6/6] [RFC] iser socket

Or Gerlitz ogerlitz at voltaire.com
Thu Feb 23 05:38:08 PST 2006


Christoph Hellwig wrote:
>> + note that data is never moved on the socket via send/recv but 
>>   only by calls from iscsi_iser.c to iser_send_control/command/dataout
>> + data originting/resuling in user space (eg login request/respose)
>>   is moved down/up by open iscsi using netlink

> So what do the iser sockets do?  They look like noop stubs to me.

the iser sock sole real action is connect, see iser_sock_connect

Open iscsi expects the transport to support the following chain:

+1 create socket
+2 connect the socket to the target
+3 bind the socket to an iscsi connection enabling actual communication 
over this iscsi connection

so, we implemented the minimal set of operations (ie socket/connect) 
which will enable open iscsi to work transparently with the iser transport.

Or.










More information about the general mailing list