Loading
bdev/nvme: Fix race between IO channel creation and reconnection
During a reconnection, we loop over all IO channels to delete the qpairs. Then after a successful reconnection, we loop again over all IO channels to recreate the qpairs. However, if a user created a new IO channel in between these two steps, it will create a new qpair that will get overridden during the second loop. Change-Id: Ifae52c991aa1175bcaa12ef5a4f0b7cc90ae6db1 Signed-off-by:Alex Michon <amichon@kalrayinc.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25379 Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>