+3
−4
Loading
Previously whenever bdev module went through init>fini>init, the async modules would trigger assert in spdk_bdev_module_action_done(). This was because starting value for action_in_progress was being set only once - during registration of the modules. With this change, modules are set as async just before their init start. Change-Id: If177a8dc97812b1b264cb61d5ad202ce47fca3b5 Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454614 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com>