Spdk/lib/blob
Jim Harris 75cb2da951 blob: fail _spdk_blob_parse_page on bad md descriptors
Currently there are a bunch of asserts() on metadata
descriptors - change these to fail the blob parsing
instead.

While here also return -ENOMEM if any of the memory
allocations fail.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ie37b73c57b304d05a45d10a8d33bcc1d47e7a1be

Reviewed-on: https://review.gerrithub.io/388702
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-11-29 17:25:34 -05:00
..
bdev bs_dev: Add notice log when device does not support unmap 2017-11-09 13:38:49 -05:00
blobstore.c blob: fail _spdk_blob_parse_page on bad md descriptors 2017-11-29 17:25:34 -05:00
blobstore.h blob: fail _spdk_blob_parse_page on bad md descriptors 2017-11-29 17:25:34 -05:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00
request.c blob: add write_zeroes support 2017-10-23 11:50:16 -04:00
request.h blob: add write_zeroes support 2017-10-23 11:50:16 -04:00