Spdk/test
Tomasz Zawadzki 2df9f03c47 blobstore: New API call to destroy blobstore [1/3]
Currently exposed API allows to load/unload and to
initialize blobstore on a device.

A spdk_bs_destroy() call is added in order to reach
functional parity with spdk_bs_init(). It was not
possible to remove blobstore from device from within
SPDK previously.

spdk_bs_destroy() takes blobstore pointer as argument
(instead of bs_dev), because blobstore has to be already
loaded to destroy it.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I2c493a4407868fcf08fd1766a19fc8463f634ef5
Reviewed-on: https://review.gerrithub.io/382019
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>
2017-10-20 16:06:53 -04:00
..
app app: spdk_app_fini no longer gives return code 2017-10-10 10:56:34 -04:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00
lib test/bdevio: assert against get_io_channel failure 2017-10-19 00:33:06 -04:00
lvol test/lvol: RPC lvol tests 2017-10-18 12:38:24 -04:00
nvmf test/nvmf: extend test plan for NVMe-oF target 2017-10-10 16:27:58 -04:00
pmem test/pmem: RPC pmem functional tests. 2017-10-19 15:16:05 -04:00
unit blobstore: New API call to destroy blobstore [1/3] 2017-10-20 16:06:53 -04:00
vhost test/vhost: Fio test for vhost initiator for unmap 2017-10-19 20:14:50 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00