Spdk/test
Dariusz Stojaczyk 1fc1068049 vhost_scsi: vhost_scsi_dev_add_dev now takes vhost_dev param
Continuation of patch 94afad5a [1].
That function could be called from outside of the vhost reactor,
causing data races and possible segfaults.

Now, after this patch, all ctrlr-changing functions take spdk_vhost_dev
parameter, meaning they should be called via external event API [1],
which soon will be the only way of obtaining spdk_vhost_dev pointer.

[1] 94afad5a ("vhost: added external API to call spdk_events on vdev reactor")

Change-Id: I40ea66ad09fb5c433dd897a4e22aedeb423f9b4b
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/371013
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2017-09-15 14:18:46 -04:00
..
app test: Add a bdev management service 2017-08-02 18:04:55 -04:00
blobfs/rocksdb test/blobfs: add 'drop_cache' in run_tests script 2017-08-09 13:39:27 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt nvmf: add AllowAnyHost option to subsystems 2017-09-05 13:03:09 -04:00
lib test/bdevio: support 4kb blocksize 2017-09-14 12:29:50 -04:00
nvmf bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
unit vhost_scsi: vhost_scsi_dev_add_dev now takes vhost_dev param 2017-09-15 14:18:46 -04:00
vhost test/vhost: lower fio job iodepth 2017-09-08 17:16:54 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00