+7
−51
Loading
Bdev module fini is triggered after all bdevs get unregistered - this includes all iscsi bdevs. There's no need to unregister/free them manually. A few words for the iscsi_logout_async call, which was never possibly called, but is now completely removed: Destroying the iscsi context, which is done at bdev destruction, will "tear down any existing connection" as the libiscsi docs say, so there's apparently no need to perform a manual logout. Change-Id: Id163668a19a1d4b9bcd7538ecd1c0febae0fe47a Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/420567 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>