92b28effd4
Previously iscsi_del_transfer_task() and iscsi_clear_all_transfer_task() were called after SCSI layer completed abort request. However, SCSI layer waits until all target requests are aborted or completed anyway. So the timing to call iscsi_del_transfer_task() and iscsi_clear_all_transfer_task() were not effective. Hence for ABORT TASK, call iscsi_del_transfer_task() before iscsi_op_abort_task(), for ABORT TASK SET and LUN RESET, call iscsi_clear_all_transfer_task() before iscsi_op_abort_task_set(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I7c22b7305499e6e7d7335b7b5616a3abac0252c4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3149 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
conn.c | ||
conn.h | ||
init_grp.c | ||
init_grp.h | ||
iscsi_rpc.c | ||
iscsi_subsystem.c | ||
iscsi.c | ||
iscsi.h | ||
Makefile | ||
md5.c | ||
md5.h | ||
param.c | ||
param.h | ||
portal_grp.c | ||
portal_grp.h | ||
spdk_iscsi.map | ||
task.c | ||
task.h | ||
tgt_node.c | ||
tgt_node.h |