Spdk/module/bdev
Marcin Dziegielewski 5817a1cf3f lib/bdev/ocf: fix memory leak of vbdev_ocf_qcxt
Realted to #957

Normally we are using vbdev_ocf_qcxt allocated by spdk device (ctx_buf),
but after io_device_destroy_cb this context can be freed, so we allocate a
local copy to use for issuing requests on ocf bdev stop. Unfortunately,
in current code we are not freeing it, this patch fix that issue.

Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Change-Id: I2d5c0b529f4ff79960945b9e598f21602209f839
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468983
Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-09-20 20:21:31 +00:00
..
aio mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
compress module/compress: fix a few typos in comments/log messages 2019-09-18 18:17:28 +00:00
crypto RPC: rename rpc get_bdevs to bdev_get_bdevs 2019-09-13 22:39:15 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi RPC: rename bdev_iscsi RPCs 2019-08-26 22:42:48 +00:00
lvol lvol: Use error log instead of info log on error 2019-09-09 08:40:58 +00:00
malloc scripts/rpc: Rename rpc delete_malloc_bdev to bdev_malloc_delete 2019-09-09 05:02:47 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme bdev/nvme: add arbitration configuration parameters to NVMe controller 2019-09-20 02:04:06 +00:00
ocf lib/bdev/ocf: fix memory leak of vbdev_ocf_qcxt 2019-09-20 20:21:31 +00:00
passthru module/passthru: fix a few typos in comments 2019-09-20 02:02:42 +00:00
pmem rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
raid module/raid: fix incorrect error code 2019-09-20 15:25:58 +00:00
rbd RPC: rename rpc delete_rbd_bdev to bdev_rbd_delete 2019-09-13 22:39:15 +00:00
rpc RPC: rename get_bdev_histogram to bdev_get_histogram 2019-09-13 22:39:15 +00:00
split RPC: rename destruct_split_vbdev to bdev_split_delete 2019-09-19 19:24:47 +00:00
uring mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
virtio RPC: rename construct_virtio_dev to bdev_virtio_attach_controller 2019-09-19 19:24:47 +00:00
Makefile mk: standardize DIRS-x assignments. 2019-08-29 20:16:18 +00:00