When snapshot is created, the new blob is loaded and examined for BLOB_SNAPSHOT xattr in blob_load_backing_dev function. At this step there is no such xattr, so zeroes back_bs_dev is created. Later snapshot inherits back_bs_dev from original blob, so previously created back_bs_dev can be lost. Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: I90cc9b02f56598d8c5c7fe00409f571fba0aa91a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11384 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> |
||
---|---|---|
.. | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
spdk_blob.map | ||
zeroes.c |