| 9c9f7ddb | 26-Mar-2024 |
Krzysztof Karas <krzysztof.karas@intel.com> |
lib/event: make SPDK app exit upon RPC server launch failure
Whenever an application cannot start a server, it will print an error, but not exit upon detecting that condition, so we implicitly disab
lib/event: make SPDK app exit upon RPC server launch failure
Whenever an application cannot start a server, it will print an error, but not exit upon detecting that condition, so we implicitly disable the server by just ignoring its inability to launch.
We should not allow RPC servers to fail their initialization while allowing SPDK app to continue working. Instead, we should exit the app, whenever sever failed to start on a valid RPC address.
Change-Id: I10a779c71ed5101d12d69383d646f44bad6d9565 Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22153 Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|