Spdk/lib/bdev
Jim Harris 8b0b3c350c bdev: add spdk_bdev_mgmt_channel_free_resources()
Call this function from spdk_bdev_mgmt_channel_destroy().
Currently there are no real resources to free, but that
will change in an upcoming patch which adds per-thread
bdev_io caches.

While here, also add a for_each_channel iterator to
call this function on each existing channel during bdev
finish code path.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9348e37053505c9fba7a6421e55ffc416668d24f

Reviewed-on: https://review.gerrithub.io/392530
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-12-21 10:42:47 -05:00
..
aio bdev_aio: Remove use of perror() for open/close failure 2017-12-15 15:22:53 -05:00
error bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
gpt log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol blob: change spdk_blob_close parameter to spdk_blob * 2017-12-15 12:28:44 -05:00
malloc bdev_malloc: Remove use of perror() for spdk_dma_zmalloc failure 2017-12-15 15:48:32 -05:00
null bdev/null: complete requests asynchronously 2017-12-21 10:42:47 -05:00
nvme bdev/nvme: add running config support for NVMe backend 2017-12-14 12:13:38 -05:00
pmem log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
rbd astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
rpc bdev: add callback to spdk bdev unregister and bdev destruct 2017-10-26 17:23:58 -04:00
split log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
virtio virtio: remove pollers from virtqueues 2017-12-19 13:35:52 -05:00
bdev.c bdev: add spdk_bdev_mgmt_channel_free_resources() 2017-12-21 10:42:47 -05:00
Makefile bdev_virtio: added --without-virtio configure flag 2017-10-19 19:06:12 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00