Spdk/module/bdev
paul luse f4e401ea36 module/compress: Clear vol element in comp_bdev struct on vol unload
When a vol is unloaded, the vol element in comp_bdev element needs to
be NULL'd so that when the comp_bdev destruct entry point is called,
we won't try to unload the vol again.

fixes issue #928

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: If267335cbe2234c62351cfc39d33b0ea698ca893
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466441
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2019-08-30 15:47:29 +00:00
..
aio mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
compress module/compress: Clear vol element in comp_bdev struct on vol unload 2019-08-30 15:47:29 +00:00
crypto mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi RPC: rename bdev_iscsi RPCs 2019-08-26 22:42:48 +00:00
lvol RPC: rename rpc resize_lvol_bdev to bdev_lvol_resize 2019-08-28 15:20:15 +00:00
malloc mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme rpc: Rename set_bdev_nvme_options to bdev_nvme_set_options 2019-08-30 15:44:42 +00:00
ocf rpc: Rename ocf get_bdevs and get_stats related rpcs. 2019-08-30 15:41:30 +00:00
passthru mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
pmem mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
raid mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
rbd mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
rpc mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
split mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
uring mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
virtio mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
Makefile mk: standardize DIRS-x assignments. 2019-08-29 20:16:18 +00:00