+10
−3
Loading
When JSON config was used, app layer was calling the app start callback twice - once from internally-sent "start_subsystem_init" RPC, and once from the app layer itself. In case of JSON configs, the callback from within the RPC was actually called prematurely, as the real RPC server was still starting in the background at that point. We still need to start the app from that RPC in case of `--wait-for-listen` option, but for JSON configs it doesn't make sense. Just ignore it now and rely on json config load completion callback to start the app. Fixes #816 Change-Id: Ib54d624f3167137216c910b2d947bbd1dc5023b1 Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458351 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>