Spdk/lib/bdev
Tomasz Zawadzki 5f6306ea24 bdev/gpt: free base bdev_part in gpt after examining
Currently GPT keeps the bdev it is examining open, even after determining there is no GPT on it.
It is due to spdk_gpt_base_free() not notifying bdev layer to free base bdev_part.

Additionally release of bdev module for that bdev was moved to bdev_part_free,
as the module is not claimed until bdev_part on base bdev are created.

Functional tests added to verify the changes.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Id75f88259267847e8ec476d19750dc1e2690f11a
Reviewed-on: https://review.gerrithub.io/378621
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-09-14 13:39:29 -04:00
..
aio bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
error bdev/error: use bdev_part helper functions 2017-09-12 11:16:50 -04:00
gpt bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
malloc bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
null bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
nvme bdev/bdev_nvme.c: correct order of args in unmap call 2017-09-11 19:08:22 -04:00
rbd bdev: convert bdev module APIs to use blocks 2017-09-06 13:01:13 -04:00
rpc bdev: update the get_bdevs RPC method with optional parameter 2017-08-28 15:19:34 -04:00
split bdev: add common partition helper functions 2017-09-12 11:16:50 -04:00
virtio bdev_virtio: fix logging with enabled debug 2017-09-11 19:10:43 -04:00
bdev.c bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
Makefile virtio: add initial rev of virtio-scsi initiator bdev module 2017-08-22 11:54:15 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00