fec7c88e45
Use a descriptor got by opening the LUN to allocate IO channel of the LUN. This requires opening the LUN is done before allocating IO channel of the LUN. Use the descriptor to free IO channel of the LUN too. Additionally, assert is added to the close LUN function to check if IO channel is freed before the last close LUN function is called. Change-Id: Iafb2f9ce790fff25801ea45b3286f3e26943807b Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/417807 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
Makefile | ||
unittest.sh |