Spdk/module
Shuhei Matsumoto fcf8e4543d bdev/compress: Ensure callback to bdev_compress_delete() runs on the original thread
Introduce context structure to ensure the callback function to
bdev_compress_delete() runs on the original thread.

The time to free comp_bdev and the time to call the callback function
to bdev_compress_delete() are different. Hence it is necessary to
allocate context separately.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I534f5673b58d2a0321ee752534c3ea10fb37b11d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1472
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2020-04-03 06:31:10 +00:00
..
accel make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
bdev bdev/compress: Ensure callback to bdev_compress_delete() runs on the original thread 2020-04-03 06:31:10 +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/event: Add elapsed time of thread to output of framework_get_reactors RPC 2020-03-25 07:52:53 +00:00
sock posix: Fix the ASAN issue whiling using internal buffer. 2020-03-31 07:59:26 +00:00
Makefile global: rename copy to accel 2020-02-18 08:05:34 +00:00