Spdk/test/unit/lib
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
..
bdev bdev/raid: Get struct raid_bdev from struct spdk_bdev_io in IO submission 2018-08-06 18:14:30 +00:00
blob ut/blobstore: add spdk_bs_load() tests for different cluster_size 2018-07-27 21:44:46 +00:00
blobfs blobfs: change the return type of spdk_file_truncate 2018-07-26 01:42:17 +00:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi iscsi: Support hot removal of LUN based on LUN open/close 2018-07-17 17:43:28 +00:00
json ut/json: add a few test cases to json_parse_ut 2018-07-06 22:47:18 +00:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol lvol: destroy_lvol_bdev implementation 2018-07-25 17:06:45 +00:00
nvme test/nvme: add unit test cases for nvme_qpair.c 2018-07-10 01:02:36 +00:00
nvmf nvmf: claim each bdev when constructing new Namespace 2018-08-06 21:14:37 +00:00
scsi scsi: Enforce to open LUN and then alloc IO channel by using descriptor 2018-07-17 17:43:28 +00:00
sock net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
thread test: Move poller test to the thread unit test 2018-07-02 19:12:45 +00:00
util util/base64: add base64 lib and unit tests 2018-07-19 00:50:54 +00:00
vhost ut/vhost: remove backend-specific tests 2018-07-03 22:18:57 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00