22b8b92275
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> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_error_rpc.c | ||
vbdev_error.c | ||
vbdev_error.h |