This change follows the large read which submits only subtasks, and simplifies large write cases. Associate the PDU which sends a SCSI Write PDU with immediate data with both the primary task and the first secondary task. Then stop incrementing reference count of the primary task twice. As same as the last patch, copy the failure status directly among the primary task and the secondary tasks because the primary task is not submitted now. Then remove related data from struct spdk_iscsi_task and related helper functions from conn.c. Finally simplify unit tests for process_non_read_task_completion(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I54aa38c9b9fb7d7352da040dcdd8bcc1b1756a83 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6344 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
conn_ut.c | ||
Makefile |