Spdk/lib/iscsi
Shuhei Matsumoto 8bb603da82 iscsi: Remove duplication of the variable for write completion to bdev
This patch will follow the change 393212 by Daniel.

For read command:
- primary's scsi.bytes_completed is for read completion from bdev.
- primary's scsi.data_transferred si for send completion to initiator.

Two variables have its own meaning, respectively.

However for write command:
- both primary's scsi.bytes_completed and scsi.data_transferred are
  for write completion to bdev.

Hence for write we should use only either one and it looks that
bytes_completed will be appropriate.

Change-Id: I991c00170ad3651fe926173657e8a49a9a38d02a
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/393582
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-04 15:41:51 -05:00
..
acceptor.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c scsi, iscsi: accumulate data_transferred in iSCSI 2018-01-04 15:01:30 -05:00
conn.h iscsi: Remove nested, duplicated, or unreferenced file inclusion 2017-12-14 11:30:05 -05:00
init_grp.c iscsi: remove errno lookups for allocations 2017-12-29 13:48:29 -05:00
init_grp.h iscsi: make some functions into static 2017-12-21 12:19:44 -05:00
iscsi_rpc.c iscsi: Set cpumask to all available CPUs when PG is created JSON-RPC 2017-12-19 15:22:05 -05:00
iscsi_subsystem.c iscsi: remove errno lookups for allocations 2017-12-29 13:48:29 -05:00
iscsi.c iscsi: Remove duplication of the variable for write completion to bdev 2018-01-04 15:41:51 -05:00
iscsi.h iscsi: Remove unused macro constants 2017-12-27 12:49:32 -05: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 iscsi: remove errno lookups for allocations 2017-12-29 13:48:29 -05: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: remove errno lookups for allocations 2017-12-29 13:48:29 -05:00
portal_grp.h iscsi/portal_grp: make some functions into static and remove unused ones 2017-12-26 11:16:47 -05:00
task.c iscsi: let task_pool use spdk_mempool related functions 2017-12-06 17:03:15 -05:00
task.h scsi, iscsi: move lun_id field to iSCSI task 2018-01-03 12:09:57 -05:00
tgt_node.c iscsi: disallow netmask prefix of 0 bits 2018-01-03 12:02:06 -05:00
tgt_node.h iscsi: Dynamic reconfiguration of PG-IG maps 2017-12-07 12:28:02 -05:00