Spdk/include
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
..
linux include: add local virtio_blk.h 2017-12-27 15:13:03 -05:00
spdk util: make spdk_io_channel_get_ctx() inline 2018-01-09 12:46:35 -05:00
spdk_internal bdev: Renamed lvol->old_name to lvol->unique_id 2018-01-04 13:15:09 -05:00
Makefile build: add 'make install' rule 2017-11-27 17:58:02 -05:00