numam-spdk/include/spdk
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
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
bdev.h bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
bit_array.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob_bdev.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
blobfs.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
conf.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
copy_engine.h copy: Move asynchronous module init to event_copy 2017-06-20 13:46:37 -04:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h env: extend PCI address domain to 32 bits 2017-06-23 11:20:05 -04:00
event.h event/env: remove dpdk_ prefix 2017-06-16 14:20:26 -04:00
fd.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
gpt_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
histogram_data.h histogram: move nvme/perf histogram code to a common header 2017-06-14 14:20:03 -04:00
io_channel.h io_channel: add helper to get an I/O channel's thread 2017-06-13 11:37:13 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
iscsi_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
json.h json/test: remove executable permisions on unrelated files 2017-07-05 12:08:05 -04:00
jsonrpc.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h log: Add a print to stderr threshold 2017-06-20 13:34:47 -04:00
mmio.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
net.h net: Move module initialization into event_net 2017-06-20 13:46:37 -04:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h nvme_spec.h: update to NVMe 1.3 2017-06-15 13:45:12 -04:00
nvme.h nvme: add the COMPARE IO command support 2017-07-05 16:31:01 -04:00
nvmf_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvmf.h bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
pci_ids.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
queue_extras.h Break out queue.h code pulled from FreeBSD into a separate file. 2015-09-25 12:45:04 -07:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h rpc: Remove event framework and config file 2017-06-22 10:47:31 -04:00
scsi_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
scsi.h scsi: added spdk_scsi_dev_has_pending_tasks() 2017-07-05 17:11:55 -04:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
trace.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
util.h blob: Use a separate md and I/O target 2017-05-22 19:27:17 -04:00
version.h version: add version header 2017-06-23 18:58:41 -04:00
vhost.h vhost: basic virtio block implementation 2017-06-28 21:37:56 -04:00