Loading
env: add opts_size to spdk_env_opts
This will help with ABI compatibility as new fields get added to this structure. User is responsible for setting opts_size. Major version has been bumped, so users will need to rebuild against latest code, if they do not set opts_size we will just treat that as if the structure ends right before opts_size. We will also print an ERRLOG to warn user to set opts_size appropriately. As part of this patch, update all in-tree callers of spdk_env_opts_init() to set the opts_size. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: If2611eccc8b3c43e1dc1654028d000a8a12a544e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23940 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com>