+0
−10
Loading
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>