In current code there is no possibility to clean up vbdev in case of error during management path. This patch introduces new version of vbdev_ocf_mngt_stop function, now developer can pass handle to path with rollback functions and therefore clean up not full initialised vbdev instance. Changes in this path also allows to pass status explicitly to vbdev_ocf_mngt_stop function. Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Change-Id: Ie9684981e48d24b3e55e4b1ab828dc8c01baa838 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468471 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
blobfs | ||
copy | ||
event | ||
sock | ||
Makefile |