Spdk/lib/vhost
Maciej Szwed 039a4c6cb0 vhost-blk: put bdev IO channel on hot remove
On hot remove, before closing bdev, put its IO channel.
If we don't do this bdev won't be destroyed until controller
is removed.

This fixes GitHub issue #401.

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: I92600c2f7136f56afd6593f663f2d2cf468a37dc

Reviewed-on: https://review.gerrithub.io/422258
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-16 15:21:54 +00:00
..
rte_vhost vhost: fix the coredump when perform live migration 2018-08-15 17:25:33 +00:00
Makefile vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00
vhost_blk.c vhost-blk: put bdev IO channel on hot remove 2018-08-16 15:21:54 +00:00
vhost_internal.h vhost: dump interrupt coalescing parameters in RPC info/config 2018-06-15 18:45:14 +00:00
vhost_nvme.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
vhost_rpc.c vhost: add socket path in info dump 2018-07-12 23:54:34 +00:00
vhost_scsi.c vhost/scsi: do not fail scsi_dev_add_tgt() if hotplug is not supported 2018-07-05 01:51:22 +00:00
vhost.c vhost: return more appropriate errno if controller is still in use 2018-08-16 01:42:39 +00:00