Spdk/test/unit/lib/nvmf
Changpeng Liu ff458be850 nvmf: claim each bdev when constructing new Namespace
Claim the block device when adding it to a new Namespace,
and prevent the block device to be added twice for other
modules and Namespaces.  Also remove the test that using
same block device over different Namespaces.

Fix issue #371.

Change-Id: Ib7ce18e9fde4a15c0f19ce9e28e69145e54570e0
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/420472
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-08-06 21:14:37 +00:00
..
ctrlr_bdev.c nvmf: Remove abort implementation 2018-06-20 22:07:24 +00:00
ctrlr_discovery.c nvmf: claim each bdev when constructing new Namespace 2018-08-06 21:14:37 +00:00
ctrlr.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c nvmf: claim each bdev when constructing new Namespace 2018-08-06 21:14:37 +00:00
Makefile nvmf: Rename spdk_nvmf_session to spdk_nvmf_ctrlr 2017-08-08 13:46:48 -04:00