Spdk/test/unit/lib/bdev
Tomasz Zawadzki ebf0312eef lvol: Add vbdev_lvs_destruct() and change unload behaviour [3/3]
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>
2017-10-26 17:23:58 -04:00
..
bdev.c bdev: add callback to spdk bdev unregister and bdev destruct 2017-10-26 17:23:58 -04:00
gpt test/bdev/gpt: link spdk_util for CRC32 function 2017-08-15 15:24:29 -04:00
mt bdev: add callback to spdk bdev unregister and bdev destruct 2017-10-26 17:23:58 -04:00
pmem bdev_pmem: unit tests for persistent memory backend 2017-10-18 13:48:22 -04:00
scsi_nvme.c test: move SCSI/NVMe translation test to test/unit 2017-06-20 13:46:07 -04:00
vbdev_lvol.c lvol: Add vbdev_lvs_destruct() and change unload behaviour [3/3] 2017-10-26 17:23:58 -04:00
Makefile bdev_pmem: unit tests for persistent memory backend 2017-10-18 13:48:22 -04:00