Spdk/lib/nvmf
Shuhei Matsumoto e0cd084bcb nvmf/rdma: Clear num_outstanding_data_wr to zero when read I/O to the controller failed
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>
2020-06-15 15:28:15 +00:00
..
ctrlr_bdev.c all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
ctrlr_discovery.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
ctrlr.c lib/nvmf: Clean up abort AER request operation 2020-06-10 13:54:40 +00:00
fc_ls.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
fc.c nvmf: Make spdk_nvmf_tgt_accept return the number of events accepted 2020-06-15 15:28:00 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvmf_fc.h nvmf/fc: Fix compilation issue on gcc 9 2020-06-15 15:27:16 +00:00
nvmf_internal.h nvmf: Keep a list of poll groups on each target 2020-06-10 14:02:38 +00:00
nvmf_rpc.c nvmf/nvmf_rpc: Remove unnecessary returns. 2020-06-11 19:51:59 +00:00
nvmf.c nvmf: Make spdk_nvmf_tgt_accept return the number of events accepted 2020-06-15 15:28:00 +00:00
rdma.c nvmf/rdma: Clear num_outstanding_data_wr to zero when read I/O to the controller failed 2020-06-15 15:28:15 +00:00
spdk_nvmf.map nvmf: remove spdk_nvmf_tgt_transport_write_config_json() 2020-06-05 09:03:26 +00:00
subsystem.c lib/nvmf: remove spdk_ and _spdk prefix from functions. 2020-06-01 09:21:14 +00:00
tcp.c nvmf: Make spdk_nvmf_tgt_accept return the number of events accepted 2020-06-15 15:28:00 +00:00
transport.c nvmf: Make spdk_nvmf_tgt_accept return the number of events accepted 2020-06-15 15:28:00 +00:00
transport.h nvmf: Make spdk_nvmf_tgt_accept return the number of events accepted 2020-06-15 15:28:00 +00:00