numam-spdk/lib/iscsi
Cunyin Chang cd94507607 iscsi: Handle the error case for large IO read.
There is one scenario, when one large read IO is splitted into several
subtasks 1 - N, and the subtask N return successful, it will be stored
in the subtask_list of primary task, but the other tasks could return
error, then when we try to return the subtask N, it will failed, this patch
will make sure the large read IO command return correctly if any of the
subtasks failed.

Change-Id: Ie6bcb79a081acf30f4e4c177c0f7568495ff2b71
Signed-off-by: Cunyin Chang <cunyin.chang@intel.com>
Reviewed-on: https://review.gerrithub.io/373450
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-08-15 16:43:50 -04:00
..
acceptor.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
acceptor.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
conn.c iscsi: Handle the error case for large IO read. 2017-08-15 16:43:50 -04:00
conn.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
init_grp.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
init_grp.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
iscsi_rpc.c iscsi: free strings in construct_target_node RPC 2017-08-09 13:24:40 -04:00
iscsi_subsystem.c iscsi: fix AHS handling 2017-07-14 11:14:21 -04:00
iscsi.c iscsi: Fix the corner case when test hotplug with iscsi tgt. 2017-08-15 16:43:50 -04:00
iscsi.h iscsi: fix AHS handling 2017-07-14 11:14:21 -04:00
Makefile util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
md5.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi, param: fix memory leak related issue 2017-06-05 13:34:40 -04:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.h iscsi: fixed crash on invalid add_portal_group call 2017-03-27 15:19:38 -07:00
task.c scsi: Remove cb_event. It is no longer necessary. 2017-06-22 10:47:31 -04:00
task.h iscsi: change iscsi_bhs_scsi_req variable names. 2017-07-18 13:14:16 -04:00
tgt_node.c scsi: removed dev->maxlun field 2017-07-12 13:16:55 -04:00
tgt_node.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00