Spdk/lib
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
..
bdev bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
blob bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
blobfs blobfs: Fix bug when reading unwritten region after truncate 2017-06-27 13:24:39 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy copy: Move asynchronous module init to event_copy 2017-06-20 13:46:37 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env_dpdk: allow spdk_mem_map_free() map to be NULL 2017-06-30 13:53:30 -04:00
event reactor: add pid to names for rings and mempools 2017-06-23 11:02:04 -04:00
ioat env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
iscsi scsi: added lun hotremove callback 2017-06-30 16:32:47 -04:00
json json/test: remove executable permisions on unrelated files 2017-07-05 12:08:05 -04:00
jsonrpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
log log: Add a print to stderr threshold 2017-06-20 13:34:47 -04:00
net net: fix declaration after statement 2017-06-27 13:57:06 -04:00
nvme nvme: add the COMPARE IO command support 2017-07-05 16:31:01 -04:00
nvmf bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
rocksdb bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
rpc rpc: Remove event framework and config file 2017-06-22 10:47:31 -04:00
scsi bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
ut_mock tests: macro-ize the creation and use of wrappers and stubs 2017-07-05 12:00:34 -04:00
util io_channel: add helper to get an I/O channel's thread 2017-06-13 11:37:13 -04:00
vhost bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
Makefile test: add wrap capability 2017-06-08 19:24:54 -04:00