| 9a86498d | 27-Dec-2023 |
Krzysztof Karas <krzysztof.karas@intel.com> |
lib/init: Add new API to load JSON config
Add a new function to carry out loading JSON configuration per rpc state. This API takes raw JSON data and its size to avoid reading the same file multiple
lib/init: Add new API to load JSON config
Add a new function to carry out loading JSON configuration per rpc state. This API takes raw JSON data and its size to avoid reading the same file multiple times inside lib/init, which is problematic in cases where subsystem configuration is piped to SPDK (e.g. program substitution), because reading bytes from such a file object consumes them. The user calling this function will be responsible for managing JSON configuration file.
Change-Id: I6e369b8dba1cb8fe7449142e5028bba841477d2d Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21194 Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 9e3241a1 | 28-Dec-2023 |
Krzysztof Karas <krzysztof.karas@intel.com> |
init: add pausing and resuming RPC server polling
Add APIs to pause and resume polling on specified server address. This will be useful in following patches, where one RPC server is launched for use
init: add pausing and resuming RPC server polling
Add APIs to pause and resume polling on specified server address. This will be useful in following patches, where one RPC server is launched for user interaction (e.g. via rpc.py script) and other will start to configure subsystems from JSON config.
Change-Id: I08ce0107a59e50c5c83a49fcd34109584819fd85 Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21193 Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|