Spdk/lib/vhost
Dariusz Stojaczyk 04b2fee404 vhost: replaced tasks ring with dynamic array
Each virtqueue will now contain
it's own buffer for I/O tasks.

Some of the task struct fields
are now the same across subsequent
I/Os, so they can be now set
just once - at the vdev start/stop.

This simplifies the code, the
debugging process and also introduces
additional sanity check preventing
vhost from processing two requests
with the same id at the same time.

Change-Id: Idcf388e8bf7c92e5536199c35eb0eb6339c00d84
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/369114
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-10-17 13:37:56 -04:00
..
rte_vhost rte_vhost: fix numa_realloc() copy size 2017-09-07 18:02:09 -04:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: add vhost with lvol backends test 2017-09-20 12:53:28 -04:00
vhost_blk.c vhost: replaced tasks ring with dynamic array 2017-10-17 13:37:56 -04:00
vhost_internal.h vhost: replaced tasks ring with dynamic array 2017-10-17 13:37:56 -04:00
vhost_rpc.c vhost/rpc: replace strerror with spdk_strerror_r 2017-10-06 17:47:42 -04:00
vhost_scsi.c vhost: replaced tasks ring with dynamic array 2017-10-17 13:37:56 -04:00
vhost.c vhost: replaced tasks ring with dynamic array 2017-10-17 13:37:56 -04:00