Spdk/lib/blob
Jim Harris 4f6096fa10 blob: add _spdk_blob_verify_md_op
These are common functions that can be called from
any function that reads or modifies a blob's metadata to
perform necessary asserts.

This will also fix several places where blob metadata
functions were asserting the calling thread context,
but not the current state of the blob.

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

Reviewed-on: https://review.gerrithub.io/401053
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-02-27 10:58:29 -05:00
..
bdev blob: blob_bdev no longer converts unmap to write zeroes 2017-12-06 17:21:46 -05:00
blobstore.c blob: add _spdk_blob_verify_md_op 2018-02-27 10:58:29 -05:00
blobstore.h blob: remove SPDK_BLOB_STATE_SYNCING 2018-02-27 10:58:29 -05:00
Makefile blob: Add a bs_dev that always returns 0 2018-01-30 15:46:18 -05:00
request.c blob: change spdk_bs_io_xxx_blob functions to spdk_blob_io_xxx 2018-02-23 18:37:17 -05:00
request.h blob: support for thin provisioned reads and writes 2018-01-30 15:46:18 -05:00
zeroes.c blob: Add a bs_dev that always returns 0 2018-01-30 15:46:18 -05:00