+2
−0
+78
−56
+10
−10
Loading
Move listen address, lock path and lock fd to a new structure describing RPC server. RPC state and allowlist remain application wide parameters. Next patch will introduce new set of APIs to manage RPC server objects instead of using a single global instance in lib/rpc. spdk_rpc_listen() and spdk_rpc_close() must be deprecated first and the new listening functions will use majority of the code from spdk_rpc_listen() in an unchanged form (apart from using a server pointer instead of reference to global instance). Change-Id: I5e59f63c5c796f0b4a47832cc67d1595b058a4b9 Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21078 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>