Spdk/module
Shuhei Matsumoto 137684a820 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>
2020-04-14 11:35:44 +00:00
..
accel make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
bdev bdev/compress: Ensure release I/O channel on the correct thread at vbdev_reduce_init_cb() 2020-04-14 11:35:44 +00:00
blob make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
blobfs make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
env_dpdk make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
event lib/thread: Add busy count for poller to increment only when some work was done 2020-04-09 13:44:14 +00:00
sock posix: Add the socket into pending_recv list if migrated from another polling group. 2020-04-08 06:43:56 +00:00
Makefile global: rename copy to accel 2020-02-18 08:05:34 +00:00