Spdk/test
Jim Harris 57d174ff67 bdev: add spdk_bdev_open/close
Retire the old claim/unclaim semantics in favor of
open/close.  Clients must now open a bdev to get
an spdk_bdev_desc, then pass this desc to get an
I/O channel.

This allows multiple clients to open a bdev,
although only one may open a bdev with write
access.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I4d319f1278170124169a8a75fd791e926b3f7171

Reviewed-on: https://review.gerrithub.io/367611
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-05 18:04:28 -04:00
..
app test/app/stub: remove sentinel file on shutdown 2017-06-23 11:02:04 -04:00
blobfs/rocksdb Revert "test/blobfs: use test stub" 2017-06-27 13:52:15 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt json/test: remove executable permisions on unrelated files 2017-07-05 12:08:05 -04:00
lib bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
nvmf nvmf/rpc: add trtype alias for transport names 2017-06-30 12:43:18 -04:00
unit bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
vhost test/vhost: change vm_kill_all to vm_shutdown_all 2017-06-21 19:03:35 -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