+17
−16
Loading
bs_write_used_* functions are used both in blobstore loading and unloading processes. However, the two processes actually need different error handling logics. Let the functions call their callbacks direclty instead of calling bs_load_ctx_fail for error cases, so that we can use different error handling logics for loading and unloading. Change-Id: I4865eb91f1d8aa36e3ca64779c08a252433a7b34 Signed-off-by:Jinlong Chen <chenjinlong.cjl@alibaba-inc.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25471 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com>