Spdk/lib/iscsi
Jim Harris 9459848ce5 iscsi: fix iscsi task refcount for out of order write completions
For large writes that require multiple SCSI tasks (one for immediate
data, then one or more for R2T-solicited data), we bump the refcount
for the task associated with the initial immediate data PDU, to
ensure it does not get freed until all of the child tasks are
completed.  But in some cases this initial immediate data PDU could
complete after all of the R2T-soliciated data PDUs.  The
completion code was not handling this case correctly which would
result in the iSCSI connection thinking it still had outstanding
SCSI tasks when the connection closed.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9f9c5322755462d1918fde0075c87c84295cb10c
2016-10-14 11:07:50 -07:00
..
acceptor.c event: hide struct spdk_poller internals 2016-08-12 10:42:12 -07:00
acceptor.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
conn.c iscsi: fix iscsi task refcount for out of order write completions 2016-10-14 11:07:50 -07:00
conn.h eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
crc32c.c iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
crc32c.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
init_grp.c iscsi: replace RTE_VERIFY() where possible 2016-08-08 15:53:57 -07:00
init_grp.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
iscsi_rpc.c iscsi/rpc: change get_target_nodes parallel arrays to objects 2016-10-13 09:05:43 -07:00
iscsi_subsystem.c env: Remove unused DPDK headers. 2016-10-12 09:53:32 -07:00
iscsi.c env: Remove unused DPDK headers. 2016-10-12 09:53:32 -07:00
iscsi.h iscsi: change the type and name of data_ref in spdk_iscsi_pdu 2016-10-12 09:11:09 -07:00
Makefile env: Make the environment library configurable. 2016-10-05 11:51:37 -07:00
md5.c Fix some cppcheck errors on lib/iscsi & lib/scsi. (#41) 2016-09-28 13:55:56 -07:00
md5.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
param.c iscsi: make param tables const 2016-08-10 22:21:22 -07:00
param.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
portal_grp.c iscsi: replace RTE_VERIFY() where possible 2016-08-08 15:53:57 -07:00
portal_grp.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
task.c eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
task.h scsi: change spdk_put_task to spdk_scsi_task_put 2016-09-29 15:42:29 -07:00
tgt_node.c iscsi: remove unused header includes 2016-08-23 09:32:19 -07:00
tgt_node.h iscsi: start all sessions for a target node on the same lcore 2016-09-22 09:12:36 -07:00