Hi Everyone,
I am trying to understand open-iscsi implementation.
Firstly, I picked up following paths to explore,
1. Discovery
In this code path, we usually call to
discovery_sendtarget
--> request_target
--> iscsi_io_send_pdu, which basically writes on a socket opened by iscsiadm, and reads from the socket by "iscsi_io_rev_pdu".
2. login/logout
In this code path, it get usually triggers to
mgmt_ipc_session_login
-> __session_login_task
-> iscsi_conn_connect
--> iscsi_sched_ev_context
--> session_conn_poll
--> iscsi_login_req
--> iscsi_io_send_pdu
In my understanding, discovery, login/logout does not involve iscsi kernel and send pdu over open by userspace socket.
Is that my understanding correct and can somebody point me out more pointer for these path.
Thanks in advance.
---
Indra