+13
−17
Loading
Swap the resetting case and the non-resetting case. Unlock mutex before calling spdk_bdev_io_complete(). Use curr_trid instead of tmp_trid to clarify the meaning of the stored value. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: If3b520a16459aba498ac80ed887b9223ac5ca3d8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4523 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>