Spdk/module/bdev/compress
Shuhei Matsumoto 3934784dbc bdev/compress: A few cleanups for vbdev_compress_claim()
Move queue insertion to the end to avoid removal in error cases.

spdk_bdev_module_examine_done() is duplicated with the caller in
error cases and so remove it.

I/O channel is not got in this function and so remove
spdk_put_io_channel() in error cases.

move up spdk_bdev_close() to call at error_bdev_register or
error_claim label.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I34a1459dcb0d3e0a2018f5b50db5be3ac44b6049
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1469
Tested-by: SPDK CI Jenkins <sys_sgci@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
..
Makefile make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
vbdev_compress_rpc.c module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00
vbdev_compress.c bdev/compress: A few cleanups for vbdev_compress_claim() 2020-04-03 06:31:10 +00:00
vbdev_compress.h module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00