Spdk/test/lib
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
..
bdev bdev: check status parameter instead of bdev_io->status 2016-10-20 15:16:09 -07:00
env env: Convert some rte_mempools to spdk_mempools 2016-10-12 09:53:32 -07:00
event event: process events in batches 2016-11-07 09:32:25 -07:00
ioat ioat: Remove ioat_impl, use swappable env lib instead. 2016-10-11 13:34:08 -07:00
iscsi scsi: translate nvme error to scsi error (#54) 2016-10-28 13:06:45 -07:00
json json: add jsoncat test tool 2016-10-31 10:23:12 -07:00
jsonrpc test: run more unit tests under Valgrind 2016-10-04 09:38:34 -07:00
log eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
nvme nvme: return virtual address in SGL callback 2016-11-09 08:57:40 -07:00
nvmf nvmf/test: update request unit test 2016-10-20 12:00:27 -07:00
scsi scsi: refactor usage of iov from spdk_scsi_task 2016-11-09 10:19:53 -07:00
util test: run more unit tests under Valgrind 2016-10-04 09:38:34 -07:00
Makefile memory: Rename to env 2016-10-05 09:49:35 -07:00