Spdk/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/rbd: remove redundant len field 2016-11-09 10:05:35 -07:00
conf build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
copy env: remove spdk_pci_device_get_device_name() 2016-11-02 15:58:03 -07:00
cunit eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
env env: add wrapper to call function without thread affinity (#60) 2016-11-07 10:32:16 -07:00
event app: add spdk_app_start_shutdown() 2016-11-07 09:59:59 -07:00
ioat ioat: Remove ioat_impl, use swappable env lib instead. 2016-10-11 13:34:08 -07:00
iscsi scsi: refactor usage of iov from spdk_scsi_task 2016-11-09 10:19:53 -07:00
json json: add spdk_json_write_[u]int64() 2016-11-02 09:10:54 -07:00
jsonrpc build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
log spdk: tweak tracedump 2016-10-05 09:40:21 -07:00
net net: fix spdk_get_ifc_ipv4 request creation 2016-10-20 16:22:05 -07:00
nvme nvme: return virtual address in SGL callback 2016-11-09 08:57:40 -07:00
nvmf nvmf: fix the wrong cleanup logic in the RDMA initialization process 2016-11-02 10:30:39 -07:00
rpc rpc: always unregister RPC setup poller 2016-10-21 15:42:53 -07:00
scsi scsi: refactor usage of iov from spdk_scsi_task 2016-11-09 10:19:53 -07:00
trace Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
util eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
Makefile memory: Rename to env 2016-10-05 09:49:35 -07:00