Spdk/lib
Shuhei Matsumoto 22b8b92275 bdev/error: Add config of error vbdev when the base bdev of it doesn't exist
Currently construct_error_bdev() fails if the base bdev doesn't exist.
This patch add configuration of the error vbdev for the base bdev instead,
and the configuration will be parsed at examine() when the base bdev is
created.

This will improve the usability of error injection for bdev and will be
usable for the upcoming JSON config file.

Change-Id: I550b7f6c74fd8ab6cbd424a192f12a0c0099028e
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/403914
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
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-04-03 15:33:14 -04:00
..
bdev bdev/error: Add config of error vbdev when the base bdev of it doesn't exist 2018-04-03 15:33:14 -04:00
blob blobstore: destroy bs_dev on spdk_bs_load fail 2018-03-27 12:21:21 -04:00
blobfs blobfs: cleanup and add comments in deleted file cleanup path 2018-03-02 15:30:32 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy io_channel: add return value to pollers 2018-03-13 11:16:20 -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: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
event app: set default print log level INFO, log NOTICE 2018-04-03 13:52:35 -04:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi iscsi: enable per-core cache for PDU data-out pool 2018-04-03 11:57:17 -04:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol lvol: read uuid xattr before name 2018-03-23 04:18:23 -04:00
nbd lib: Return instead of abort() in nbd 2018-03-13 13:41:50 -04:00
net net_framework: add registering of multiple spdk_net_frameworks 2018-03-15 17:54:29 -04:00
nvme nvme: Use active namespace list for enumerating namespaces 2018-04-02 17:17:40 -04:00
nvmf nvmf: set the subsystem state to inactive when removing it 2018-04-03 14:12:24 -04:00
rocksdb rocksdb: remove nonsensical fallocate #ifdef 2018-03-27 12:41:12 -04:00
rpc rpc: remove the existing socket file when application starts 2018-03-02 16:48:53 -05:00
scsi io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
trace app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: invoke unregister_cb on same thread unregister was called 2018-03-19 21:50:19 -04:00
vhost vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00
virtio virtio: don't silence vhost-user errors 2018-04-03 15:22:49 -04:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00