numam-spdk/lib/blob
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
..
bdev blob: add support for base bdev claim 2017-10-11 12:13:38 -04:00
blobstore.c blobstore: New API call to destroy blobstore [1/3] 2017-10-20 16:06:53 -04:00
blobstore.h blobstore: add bstype to blobstore super block 2017-10-17 13:36:03 -04:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00
request.c blob: defer calling unload callback until dev is destroyed 2017-09-26 19:10:28 -04:00
request.h blob: defer calling unload callback until dev is destroyed 2017-09-26 19:10:28 -04:00