numam-spdk/test/unit/lib/scsi
Shuhei Matsumoto 84e64cc9d7 lib/scsi: Pass SCSI task to SCSI layer to get DIF context
By the recent refactoring, SCSI task is configured when getting
DIF context from SCSI layer. Passing not CDB and offset separately
but SCSI task to SCSI layer is more concise and do in this patch.

In iscsi_send_datain(), we have to update task->scsi.offset for the
case that data is split into a sequence, but the update is no harm
because task has completed what it must to do.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I153352dfa7aa7325db4452f03d863df11b3e0cfa
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472510
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2019-11-21 08:01:29 +00:00
..
dev.c lib/scsi: Check pending tasks for the SCSI device only from the specific initiator 2019-10-18 17:30:13 +00:00
lun.c lib/scsi: Abort management tasks being queued when removing LUN 2019-11-14 18:08:12 +00:00
scsi_bdev.c lib/scsi: Pass SCSI task to SCSI layer to get DIF context 2019-11-21 08:01:29 +00:00
scsi_pr.c UT/SCSI: add persistent reservation unit tests framework 2019-06-03 23:59:49 +00:00
scsi.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
Makefile UT/SCSI: add persistent reservation unit tests framework 2019-06-03 23:59:49 +00:00