+69
−45
Loading
In the current implementation, even if global parameters in the config file are wrong, they are ignored and default values are applied. Now JSON config file is under development and is a good chance to break with past and change to reject wrong parameters. This patch add verify() function into spdk_iscsi_initialize_iscsi_globals(). Besides, this patch fixes the return code of iscsi_initialize_global_params(). Change-Id: I708a1537746fe6ce22c36d1442f7eaf2a201830e Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/406021 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>