numam-spdk/lib/iscsi
Jim Harris 42daa14f64 iscsi: accumulate data_transferred properly for large writes
Without this fix, large writes would report underflow.  Linux
initiator seems to ignore the underflow condition, but ESXi
initiator would properly detect it.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Icab28531c44f61a8e5529bcee989d0c2bf41d043

Reviewed-on: https://review.gerrithub.io/423906
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-08-30 00:22:42 +00:00
..
acceptor.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c iscsi: accumulate data_transferred properly for large writes 2018-08-30 00:22:42 +00:00
conn.h iscsi: Support hot removal of LUN based on LUN open/close 2018-07-17 17:43:28 +00:00
init_grp.c iscsi: Add JSON config/info dump for initiator group. 2018-05-10 19:38:26 +00:00
init_grp.h iscsi: Add JSON config/info dump for initiator group. 2018-05-10 19:38:26 +00:00
iscsi_rpc.c iscsi&scripts/rpc: Add get_iscsi_auth_groups RPC to get current configuration 2018-08-29 21:40:31 +00:00
iscsi_subsystem.c iscsi: Add CHAP authentication group configuration to JSON config dump 2018-08-29 21:40:31 +00:00
iscsi.c iscsi: Load CHAP secrets from file once at boot and use them in memory 2018-08-27 21:13:49 +00:00
iscsi.h iscsi&scripts/rpc: Add get_iscsi_auth_groups RPC to get current configuration 2018-08-29 21:40:31 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
md5.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c lib: fix typos in the lib directory 2018-08-24 17:15:12 +00: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 iscsi: Fix two bugs of JSON config dump 2018-05-17 23:06:11 +00:00
portal_grp.h iscsi: Add JSON config/info dump for portal group. 2018-05-10 19:38:26 +00:00
task.c scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00
task.h iscsi: fix the primary iscsi task free in queued_datain_tasks 2018-08-15 17:35:38 +00:00
tgt_node.c iscsi: Add set_iscsi_target_node_auth RPC to configure CHAP dynamically 2018-08-22 22:39:26 +00:00
tgt_node.h iscsi: Add set_iscsi_target_node_auth RPC to configure CHAP dynamically 2018-08-22 22:39:26 +00:00