Spdk/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: Add trace points for the RDMA state machine 2018-06-12 20:01:33 +00:00
ctrlr_discovery.c bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
ctrlr.c nvmf: simplify the qpair_mask handling. 2018-08-03 03:38:34 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_fc.h nvmf: fix coding style for astyle 2.05 in nvmf_fc.h 2018-07-17 07:53:18 +00:00
nvmf_internal.h nvmf: simplify the qpair_mask handling. 2018-08-03 03:38:34 +00:00
nvmf.c nvmf: simplify the qpair_mask handling. 2018-08-03 03:38:34 +00:00
rdma.c nvmf/rdma: Simplify spdk_nvmf_rdma_qp_drained 2018-08-06 16:23: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
transport.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
transport.h nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00