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
..
2017-09-12 11:16:50 -04:00
2017-08-22 18:19:00 -04:00
2017-08-02 19:47:35 -04:00
2017-07-12 18:12:52 -04:00
2017-09-06 17:33:03 -04:00
2017-09-14 19:30:54 -04:00
2017-09-06 16:26:30 -04:00
2017-08-15 16:47:01 -04:00
2017-08-11 19:36:30 -04:00
2017-09-01 12:45:50 -04:00