5bf109d507
This patch reduce duplicate data structure and make some functions common for both bs load and unload porcess in the future. Change-Id: I40b2135e89a705aa5073c1ded4c7b28be4b32f6e Signed-off-by: Cunyin Chang <cunyin.chang@intel.com> Reviewed-on: https://review.gerrithub.io/381912 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>