+14
−0
+69
−42
+1
−0
Loading
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>