numam-spdk/lib/bdev/error
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
..
Makefile Make: remove unused CFLAGS 2018-02-21 13:10:29 -05:00
vbdev_error_rpc.c bdev/error: Add config of error vbdev when the base bdev of it doesn't exist 2018-04-03 15:33:14 -04:00
vbdev_error.c bdev/error: Add config of error vbdev when the base bdev of it doesn't exist 2018-04-03 15:33:14 -04:00
vbdev_error.h bdev/error: Add config of error vbdev when the base bdev of it doesn't exist 2018-04-03 15:33:14 -04:00