Spdk/lib
Seth Howell 0ac5050624 lib/nvmf: add a global list of targets
As part of moving the nvmf rpc code to the library, we will need to make
it more inclusive of use cases outside of the example spdk nvmf_tgt
application. That application only supports a single nvmf target
structure. As such, many of the RPCs have this assumption built into
them.
In order to enable the multi-target use case, we need to configure a way
to translate between user supplied RPCs and actual target objects in the
library.

Change-Id: I5d3745afe9c2ca1c33f6e1a1bcc2b8bb3196ccd6
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465329
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2019-08-20 19:15:04 +00:00
..
bdev lib: move bdev_rpc under lib/bdev 2019-08-19 06:10:30 +00:00
blob blobstore: don't realloc any memory under scan-build 2019-07-23 22:56:23 +00:00
blobfs blobfs: use __wake_caller() to wake up the caller 2019-08-14 21:41:36 +00:00
conf string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
copy jsonrpc: don't check returned value from spdk_jsonrpc_begin_result() 2019-07-22 05:13:30 +00:00
env_dpdk mk: use the env shared lib when linking apps 2019-08-12 21:12:16 +00:00
event lib: combine event/iscsi_rpc with lib/iscsi/iscsi_rpc.c 2019-08-19 06:10:30 +00:00
ftl lib/ftl: Update initialization of io channel 2019-08-12 21:37:13 +00:00
ioat ioat: allocate device struct using regular calloc 2019-04-09 06:30:42 +00:00
iscsi lib: combine event/iscsi_rpc with lib/iscsi/iscsi_rpc.c 2019-08-19 06:10:30 +00:00
json json_util: fix typo in debug message. 2019-05-31 14:39:53 +00:00
jsonrpc jsonrpc: tolerate null json value for parameters in json-rpc call 2019-07-26 19:30:57 +00:00
log mk: move log_rpc from inside log 2019-08-15 20:32:28 +00:00
log_rpc mk: move log_rpc from inside log 2019-08-15 20:32:28 +00:00
lvol lvol: Fix for lvol failed deletion flow 2019-04-02 19:23:22 +00:00
nbd nbd/rpc: Add logs with more information about rpc error. 2019-08-14 22:11:40 +00:00
net net/rpc: Add logs with more information about rpc error. 2019-08-05 06:14:58 +00:00
notify lib: move notify_rpc under lib/notify 2019-08-19 06:10:30 +00:00
nvme nvme: fix WRITE_TO_RO_RANGE status code 2019-08-14 02:19:49 +00:00
nvmf lib/nvmf: add a global list of targets 2019-08-20 19:15:04 +00:00
reduce lib/reduce: change and move the max IOVEC define for reduce 2019-07-29 04:36:59 +00:00
rocksdb RocksDB: Remove static and assert for SpdkInitializeThread 2019-07-05 04:19:11 +00:00
rpc Remove remaining spdk_jsonrpc_begin_result() NULL checks 2019-08-09 16:35:00 +00:00
scsi scsi: fail invalid MODE_SELECT requests 2019-08-05 23:15:08 +00:00
sock sock: Fix return value of spdk_sock_group_poll to return number of events 2019-08-02 00:19:43 +00:00
thread thread: Assign not pointer but instance of spdk_cpuset in struct spdk_thread 2019-07-04 00:30:22 +00:00
trace lib: move trace_rpc into lib/trace 2019-08-19 06:10:30 +00:00
ut_mock thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
util dif: Add spdk_dix_remap_ref_tag to remap ref. tag for separate metadata payload 2019-07-11 11:14:22 +00:00
vhost Remove remaining spdk_jsonrpc_begin_result() NULL checks 2019-08-09 16:35:00 +00:00
virtio lib/virtio: change the definition of cookie 2019-06-26 08:03:37 +00:00
vmd lib/vmd: check header_type after the vmd_adapter structure is verified 2019-07-23 19:55:04 +00:00
Makefile mk: move log_rpc from inside log 2019-08-15 20:32:28 +00:00