6f227249fa
Add a new parameter for the default ctrlr opts initialization. This is to make sure future compatibility when SPDK components are built as a shared library. User's version and SPDK's version may be in different size. The change here is to make sure the backward compatibility when new fields are added in the struct spdk_nvme_ctrlr_opts. Change-Id: Icfc9640993cb06063b825d4df5835d920dd374e5 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/380846 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>