+22
−10
Loading
bdev modules should have call spdk_bdev_io_complete twice for the same IO. We can help find cases where this happens by adding an assert in spdk_bdev_io_complete - confirming that the current status is still PENDING, before changing it to the status passed by the caller. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Id8a044a94113f1ac5e3c8d86e426654bfa8d5c5a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17330 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>