5817a1cf3f
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>