Loading
bdev/compress: Ensure release I/O channel on the correct thread at vbdev_reduce_init_cb()
vbdev_reduce_init_cb() had ensured only closing bdev was done on the correct thread. I/O channel should have been released on the same thread. Fix this potential issue. reduce_errno and vol cannot be passed through message because message can have a single parameter. So set vol before sending message and use vol as reduce_errno. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I923a9e3148db0f5413a6903d62f869eec122dcca Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1693 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com>