Spdk/lib/blob
Jim Harris 4661f2aef3 blob: always use _spdk_blob_persist to check for CLEAN state
spdk_blob_close() and spdk_blob_sync_md() currently do their
own CLEAN state.  To consolidate the state checking code,
have both functions rely on the check in _spdk_blob_persist()
instead.

This will reduce code but more importantly is needed for
some upcoming changes for queuing persist operations.

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

Reviewed-on: https://review.gerrithub.io/401065
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@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: always use _spdk_blob_persist to check for CLEAN state 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