+6
−0
Loading
Currently struct bdev_io holds io_channel that the I/O was submitted on through bdev_io::bdev_channel, but bdev_io::bdev_channel is private in bdev.c and cannot be referenced in other files. Hence add an new API spdk_bdev_io_get_io_channel API to get io_channel coniveniently. Change-Id: Ic2e2fde845d324f7a1637e3c75080727a62de5ec Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/443843 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>