Spdk/test
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
..
app test: Add a bdev management service 2017-08-02 18:04:55 -04:00
blobfs/rocksdb test/blobfs: add 'drop_cache' in run_tests script 2017-08-09 13:39:27 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt nvmf: add AllowAnyHost option to subsystems 2017-09-05 13:03:09 -04:00
lib test/bdevio: support 4kb blocksize 2017-09-14 12:29:50 -04:00
nvmf bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
unit test: move subsystem_ut to unit test directory 2017-09-12 21:00:07 -04:00
vhost test/vhost: lower fio job iodepth 2017-09-08 17:16:54 -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