Operations to queue iSCSI tasks are in iscsi.c and conn.c and cross references due to this separation makes us difficult to create unit tests. This and subsequent patches will try to disentangle cross references by moving some functions from iscsi.c to conn.c. This patch moves spdk_iscsi_conn_handle_queued_datain_tasks() from iscsi.c to conn.c. For unit tests, we don't add anything new in this patch and just create necessary simple stubs. After code movement, new unit tests will be added. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: If5b8501a1ef7ea53682a3437c7eb2375aa52ee3b Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477416 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
conn.c | ||
init_grp.c | ||
iscsi.c | ||
param.c | ||
portal_grp.c | ||
tgt_node.c | ||
common.c | ||
Makefile |