Spdk/lib
Jim Harris 8bf4c089f6 bdev: initialize vbdev modules first
This allows vbdev modules to be ready for examine
calls for (physical) bdev modules when the latter
initialize.

This requires the following modifications to existing
bdev modules:
1) error and split now search their config sections
   at examine time (instead of init) to see if the
   bdev should be consumed by the vbdev module
2) gpt is simplified considerably - it no longer
   needs to save bdevs to examine when
   gpt initializes later
3) nvme must register its io device before registering
   the bdev, since vbdevs may immediately start trying
   to send I/O to the new nvme bdev

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

Reviewed-on: https://review.gerrithub.io/368598
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-12 12:42:56 -04:00
..
bdev bdev: initialize vbdev modules first 2017-07-12 12:42:56 -04:00
blob blobstore: close bdev on destroy 2017-07-06 12:44:27 -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 jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
ioat env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
iscsi jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
json json/test: remove executable permisions on unrelated files 2017-07-05 12:08:05 -04:00
jsonrpc jsonrpc: allow asynchronous request completion 2017-07-12 12:10:31 -04:00
log jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
net jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
nvme update_firmware: Allow option to download and enable firmware image. 2017-07-07 17:12:57 -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 jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
scsi jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -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 util: defer put_io_channel 2017-07-12 12:42:56 -04:00
vhost vhost_scsi: check for task allocation failure 2017-07-12 12:20:56 -04:00
Makefile test: add wrap capability 2017-06-08 19:24:54 -04:00