+6
−2
Loading
When read I/O to the controller failed, clear rdma_req->num_outstanding_data_wr to zero to avoid rqpair->current_send_depth goes to negative after completing data transfer to the host. This bug was apparent when the outstanding read I/O was aborted. Signed-off-by:Michael Haeuptle <michael.haeuptle@hpe.com> Signed-off-by:
Ben Walker <benjamin.walker@intel.com> Signed-off-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I62e439f946ef81ea0b5de5280670ed97fe8d977f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2341 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Michael Haeuptle <michaelhaeuptle@gmail.com>