+1
−0
Loading
We had not incremented ctrlr->outstanding_aborts when aborting a request in the ctrlr->queued_aborts, and ctrlr->outstanding_aborts became negative. Fix the bug in this patch. Additionally add assert to check if ctrlr->outstanding_aborts is not negative. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I58090286f070ba854bdea87f0f8ecb7810890338 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13452 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>