Spdk/module/bdev/compress
Shuhei Matsumoto 29252a483b bdev/compress: Cache use the original I/O thread into a variable and use it
Cache the return value of spdk_io_channel_get_thread() to orig_thread
and use it in the function. This will clarify the logic and improve
readability a little by reducing line length. Besides, in
vbdev_compress_submit_request(), spdk_io_channel_get_thread() can be
replaced by spdk_get_thread() and do the replacement in this patch.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Id0fadb5dae9b78ecade99c5deb650849bf6257ab
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1453
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
..
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: Cache use the original I/O thread into a variable and use it 2020-04-14 11:35:44 +00:00
vbdev_compress.h module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00