Spdk/test/unit/lib/iscsi
Shuhei Matsumoto 1160d8e6f5 lib/iscsi: Submit only subtasks for Data-OUT PDU sequence
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>
2021-02-25 10:27:53 +00:00
..
conn.c lib/iscsi: Submit only subtasks for Data-OUT PDU sequence 2021-02-25 10:27:53 +00:00
init_grp.c test/iscsi: initialize mutex for portability 2021-02-04 08:41:56 +00:00
iscsi.c test/iscsi: initialize mutex for portability 2021-02-04 08:41:56 +00:00
param.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in tgt_node.h 2020-04-20 07:38:29 +00:00
portal_grp.c remove unneeded spdk_internal/thread.h includes 2020-12-10 14:38:04 +00:00
tgt_node.c test/unit/lib/iscsi: Add unit test stubs 2020-11-19 09:47:26 +00:00
common.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
Makefile iscsi&iscsi/ut: Unify cpumask decode between iSCSI.conf and JSON-RPC 2018-01-19 15:47:57 -05:00