ebf0312eef
This patch adds new API to remove logical volume store from device it is on. It is only used from RPC, when user explicitly requests. It allows to use the device to use as any other bdev. vbdev_lvs_unload() is now only called from hotremove and during application shutdown. Which makes it possible to load it again during application start up. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: If6452ecc3fff99237d1704ff7cd8de4d7133221d Reviewed-on: https://review.gerrithub.io/382021 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>