Loading
ioat copy engine: free the registered io device.
The registered io_device by spdk_ioat_copy_engine is not freed, and we should free it. Since spdk_ioat_copy_engine is a static variable, which can not be referenced by the function defined before this variable. So we also adjust the location of copy_engine_ioat_exit. Change-Id: Ic196fe3234655c81364b3b4ceccd715979545f8e Signed-off-by:Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478838 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>