Spdk/test
Pawel Wodkowski f30f0c76f1 scsi: refactor usage of iov from spdk_scsi_task
This patch is preparation for fixing alloc_len overrun in SENSE 6/10 and
READCAP 6/10. To simplify code forbid usage of iov outside of
scsi/task.c.

This also drop SPDK_SCSI_TASK_ALLOC_BUFFER flag that obfuscate code. As
a replacement assume that if field alloc_len is non zero it mean that
iov.buffer is internally allocated. Functions
spdk_scsi_task_free_data(), spdk_scsi_task_set_data() and
spdk_scsi_task_alloc_data() manage this field.

Change-Id: Ife357a5bc36121f93a4c5d259b9a5a01559e7708
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
2016-11-09 10:19:53 -07:00
..
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/rbd: Enable fio test for iSCSI target while using RBD as LUN 2016-11-09 08:57:54 -07:00
lib scsi: refactor usage of iov from spdk_scsi_task 2016-11-09 10:19:53 -07:00
nvmf added nvmf subsystem discovery via RPC 2016-11-07 14:07:37 -07:00
Makefile test: validate that all headers compile as C++ 2016-09-21 15:27:08 -07:00
spdk_cunit.h spdk_cunit: only evaluate assert condition once 2016-10-19 08:09:45 -07:00