Spdk/include/spdk
Ben Walker 16d0fbd0d6 nvmf: Statically size the subsystems arrays
The realloc breaks TAILQs inside the structures, which causes
subtle bugs. Instead, statically allocate all of the subsystem
arrays. This sets up the maximum number of subsystems to be
configurable, but does not actually expose it through the
config file yet.

Change-Id: I7347b6002b6babc0678ce59cd218a454fe3a6f88
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/410521
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-05-09 23:31:54 +00:00
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h barrier: added spdk_smp_*mb to sync between cores 2017-11-29 10:51:42 -05:00
bdev.h bdev: Make QoS structure a separate allocation 2018-05-08 16:57:06 +00:00
bit_array.h include/bitarray: add comments for public APIs 2018-03-07 19:12:19 -05:00
blob_bdev.h bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
blob.h blobstore: clone-snapshot blobstore relations 2018-04-20 15:22:53 -04:00
blobfs.h include/blobfs.h: add comments for public APIs 2018-03-29 22:52:18 -04:00
conf.h include/conf: add comments for public APIs 2018-02-26 11:59:09 -05:00
copy_engine.h copy_engine: Support dump config text for IOAT config 2018-04-04 12:18:31 -04:00
cpuset.h include/cpuset.h: add comments for public APIs 2018-03-08 11:33:50 -05:00
crc16.h util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
crc32.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h app: pci_black/whitelist on global config and command line option 2018-04-30 17:25:41 +00:00
event.h rpc: Add start_subsystems_init RPC to start subsystems when -w option is used 2018-05-03 19:48:15 +00:00
fd.h include/fd.h: add comments for pubclic APIs 2018-01-04 12:12:10 -05:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
io_channel.h io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h include/ioat.h: add comments for public APIs 2018-03-14 13:02:06 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc.h rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h include/log.h: add comments for public APIs 2018-04-09 13:13:59 -04:00
lvol.h lvol: add snapshots and clones 2018-04-10 13:46:09 -04:00
mmio.h mmio: add functions for 1 and 2 byte I/O accesses 2017-10-13 10:46:00 -04:00
nbd.h nbd: add JSON config dump 2018-04-24 21:46:42 +00:00
net.h include/net.h: remove non public functions to private header file 2018-04-11 12:10:14 -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: add Transport SGL Data Block descriptor 2018-04-30 17:18:40 +00:00
nvme.h nvme: add API to get maximum data transfer size 2018-05-09 17:20:11 +00:00
nvmf_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvmf.h nvmf: Statically size the subsystems arrays 2018-05-09 23:31:54 +00:00
pci_ids.h bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
queue_extras.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
scsi_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
scsi.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
sock.h sock: add sock_group abstraction 2018-02-13 19:25:22 -05:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h util: add spdk_mem_all_zero() function 2018-02-23 10:05:32 -05:00
trace.h lib: Return instead of exit in trace 2018-03-13 00:53:35 -04:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
uuid.h include/uuid.h: add comments for public APIs 2018-04-10 15:44:17 -04:00
version.h version: SPDK 18.07-pre 2018-04-30 16:44:19 +00:00
vhost.h vhost: add JSON config dump 2018-04-16 19:27:33 -04:00