+18
−30
Loading
Some variables of struct spdk_iscsi_globals are initialized by using .INI config file but others are initialized without using .INI config file. This patch aggregates all initialization operations into a function spdk_iscsi_initialize_iscsi_globals(). Next patch move the code to read .INI config file from spdk_iscsi_initialize_iscsi_globals() to spdk_iscsi_parse_iscsi_globals() to make implementation cleaner. The purpose of the patch series is - to separate iSCSI subsystem initialization and iSCSI subsystem configuration, and - to develop a new JSON-RPC by reusing the separated iSCSI subsystem initialization. Change-Id: I0bda0de1d8bf1ba5e4b4e5157949fd300ec9ff9d Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/403148 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com>