6429953a65
g_bserrno from blob deletion or snapshot creation, should not be checked. It is implementation dependent whether the error (or success) from those calls actually means that enough data was persisted on disk. This test case should work even if we set the threshold high enough that no failed opperations occur. On the other hand some parts of those calls do cleanup in them, meanwhile there is enough metadata data on disk already. Such as cleaning up unused clusters or pages issue writes, but at that point the blobs already are in expected state. Thus removed assert for g_bserrno, as failure is not indicative of impossibility to recover. While here, removed the spdk_bs_unload(). This UT are for testing power fail safety. Never should it be the case that enough writes occured in create/delete, but blobs are not in the expected state. When such bug would be introduced, it could be covered up by spdk_bs_unload() cleanly closing up the blobstore. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ic69c3061f2cc1fe04bf895632cdb11efb2fe6912 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/482660 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
compress | ||
config_converter | ||
cpp_headers | ||
dpdk_memory_utility | ||
env | ||
event | ||
ftl | ||
fuzz | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
make | ||
nvme | ||
nvmf | ||
ocf | ||
openstack | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
vmd | ||
Makefile | ||
spdk_cunit.h |