blob_delete_snapshot_power_failure() test always attempted snapshot deletion until the snapshot did not open. Which meant that on bs reload after dirty shutdown, the snapshot was in unrecoverable state. UT did not verify delete call beyond that point. Next patch will stop after snapshot is unrecoverable, AND the spdk_bs_delete_blob() returned success. This patch makes it easier to recreate same starting conditions after snapshot did not load. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I7e14e8dadaaef4aa3287ebd376465253466b2362 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1162 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
blob.c | ||
bs_dev_common.c | ||
bs_scheduler.c | ||
Makefile |