Spdk/lib/nvmf
Jim Harris f3e197ff18 nvmf: add qpair->connect_received
Currently we use qpair->ctrlr at qpair destroy
time to decide if we need to decrement the
qpair's poll group's qpair count.  But this is
not correct - these counters get incremented
when the CONNECT is received, but qpair->ctrlr
doesn't get set until later.

So add a new connect_received bool to the spdk_nvmf_qpair.
Use this instead to determine when we should decrement
the poll group qpair counters.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I174a0fda36c4558171953bf58f2f5117bc074f76
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15692
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2022-12-01 10:57:29 +00:00
..
ctrlr_bdev.c nvmef: don't set optimal I/O boundary if write_unit_size != 1 2022-11-30 08:50:29 +00:00
ctrlr_discovery.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ctrlr.c nvmf: add qpair->connect_received 2022-12-01 10:57:29 +00:00
fc_ls.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
fc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile nvmf: Add copy command support 2022-11-30 08:50:06 +00:00
nvmf_fc.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf_internal.h nvmf: Add copy command support 2022-11-30 08:50:06 +00:00
nvmf_rpc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf.c nvmf: add qpair->connect_received 2022-12-01 10:57:29 +00:00
rdma.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_nvmf.map nvmf: add spdk_nvmf_ctrlr_[save|restore]_migr_data() APIs 2022-09-20 10:17:24 +00:00
subsystem.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
tcp.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
transport.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
transport.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfio_user.c nvmf/vfio-user: drop thread from struct nvmf_vfio_user_cq 2022-11-30 08:47:31 +00:00