Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bdev/compress: Fix base channel is freed by wrong thread when freeing…
… comp channel When reduce volume is unloaded at compress bdev removal, the callback to unload did not get base bdev's I/O channel on the same thread that opened base bdev. Hence spdk_put_io_channel() hit assert later. This patch fixes the bug by sending message to get I/O channel. Fixes issue spdk#1307. Besides, add assert to _delete_vol_unload_cb() to detect the unexpected complex cases. Fix will be added later. Signed-off-by: Shuhei Matsumoto <[email protected]> Change-Id: If4983c2e06d7b0b7618f38fb80f3aa73effe4b83 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1426 Tested-by: SPDK CI Jenkins <[email protected]> Reviewed-by: Ben Walker <[email protected]> Reviewed-by: Jim Harris <[email protected]> Reviewed-by: Paul Luse <[email protected]>
- Loading branch information