Purpose: Do not let the primary task do the I/O if it is splitted into subtasks. This will make the code simplier, when all the sub I/Os are finished, we can free the primary task. Update the corresponding unit test also. As a result of this change, when read I/O is split into subtasks, the primary task uses only some of its data. Hence separate iscsi_pdu_payload_op_scsi_read() into split and non-split case explicitly. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I9bbe4b8dd92a2996f35ad810b33676e34670c77e Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473532 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
iscsi_ut.c | ||
Makefile |