numam-spdk/lib/blob
Tomasz Zawadzki 7f007b44a9 lib/blob: clear blobid and md_page on blob_create failure
Blobid and md_page is claimed as first step of blob creation.
If blob creation failed, both should returned to be used by
other blobs.

This caused multiple reports of:
"Metadata page 1 crc mismatch"
when loading blobstore due to md_pages not actually containing
the written out md pages.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I495452c578d879f749281cebf8975eb2c1c7f79a
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2057
Community-CI: Mellanox Build Bot
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>
2020-05-07 08:30:19 +00:00
..
blob_bs_dev.c lib/blob: remove spdk_ from non-public APIs 2020-04-15 22:10:08 +00:00
blobstore.c lib/blob: clear blobid and md_page on blob_create failure 2020-05-07 08:30:19 +00:00
blobstore.h blob: add pages_per_cluster_shift 2020-04-24 15:45:21 +00:00
Makefile lib/blob: add a map file. 2020-04-15 22:10:08 +00:00
request.c lib/blob: remove some unused internal APIs 2020-04-15 22:10:08 +00:00
request.h lib/blob: remove some unused internal APIs 2020-04-15 22:10:08 +00:00
spdk_blob.map lib/blob: add a map file. 2020-04-15 22:10:08 +00:00
zeroes.c lib/blob: remove spdk_ from non-public APIs 2020-04-15 22:10:08 +00:00