Spdk/test/unit/lib/blob
Jim Harris fb8acd90aa util: make spdk_io_channel_get_ctx() inline
This requires exposing struct spdk_io_channel in the
public header - mark it as internal with Doxygen
comments to make it extra clear that applications
should not use the data structure directly.

This is a very hot function in the main I/O path,
so making this function inline has a significant
performance benefit.  A bdevperf microbenchmark
using null bdevs shows a 11% improvement.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I70e30e184000705704bb004e8da1c7476a6aceeb

Reviewed-on: https://review.gerrithub.io/393824
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-01-09 12:46:35 -05:00
..
blob.c blob: Add read_only opt and spdk_bs_md_set_read_only to blobs. 2018-01-03 12:00:30 -05:00
bs_dev_common.c util: make spdk_io_channel_get_ctx() inline 2018-01-09 12:46:35 -05:00
Makefile test: move blob library unit tests to test/unit 2017-06-21 18:57:35 -04:00