+1
−1
Loading
Finish the sequence first, before calling _spdk_bs_free(). Otherwise synchronous bs_devs (like we use in the unit tests) cause the sequence memory to get freed via _spdk_bs_free() and then we try to finish the sequence. This eliminates the need for g_scheduler_delay and _bs_flush_scheduler() in the blob unit tests. But don't remove them - they will be useful in upcoming unit tests for queued persist operations. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I09aac3ae4d3a56ff8e04a5b822fcd6746f13afc3 Reviewed-on: https://review.gerrithub.io/401267 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Maciej Szwed <maciej.szwed@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>