958364b4a0
During snapshot creation the original blob becomes a thin provisioned blob that will only the diff of data after snapshot creation. Despite the comment in the UT the number of polls before issuing blob write was hitting blob BEFORE it swapped with new one. Issuing I/O during this period shall check for io freeze before checking cluster allocation. Otherwise bs_io_unit_is_allocated() hits assert for thin provisioned blob. This is because cluster map of blob is empty, but properties have not been updated yet. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I742e1a50b14d456ae1e6de13b5111caec3e8322c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7641 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
spdk_blob.map | ||
zeroes.c |