numam-spdk/lib/bdev
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
..
aio bdev/aio: remove deprecated "fname" RPC parameter 2018-03-23 03:57:44 -04:00
error bdev/error: Add config of error vbdev when the base bdev of it doesn't exist 2018-04-03 15:33:14 -04:00
gpt bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
iscsi bdev: add iSCSI initiator bdev module 2018-03-21 20:35:42 -04:00
lvol lvol: remove num_clusters member from spdk_lvol 2018-03-23 04:02:13 -04:00
malloc bdev/malloc,null: save uuid when getting config 2018-03-27 03:15:01 -04:00
null bdev/malloc,null: save uuid when getting config 2018-03-27 03:15:01 -04:00
nvme nvme: Use active namespace list for enumerating namespaces 2018-04-02 17:17:40 -04:00
passthru bdev/passthru: read/write access 2018-04-03 15:15:30 -04:00
pmem bdev/pmem: add conf support to test in blockdev.sh 2018-04-03 14:14:29 -04:00
rbd bdev/rbd: add JSON config dump 2018-03-23 03:57:44 -04:00
rpc subsystem,bdev: rework RPC JSON config dump 2018-03-27 02:57:28 -04:00
split bdev/split: move config scaning to vbdev_split_init 2018-03-30 20:47:08 -04:00
virtio bdev/virtio/blk: fix memory leaks on device init failure 2018-03-30 19:34:22 -04:00
bdev.c bdev: update the function to get the QoS setting 2018-03-30 17:43:25 -04:00
Makefile bdev: add iSCSI initiator bdev module 2018-03-21 20:35:42 -04:00
part.c bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00