+0
−15
Loading
This reverts commit 4045068a. Commit 4045068a requires that a listener must not stop until all qpairs are destroyed, in order to prevent qpairs from accessing a freed listen_id after the listener stops. However, if there are many inflight IOs on the qpairs and these IOs take a long time to complete, stopping the listener will be significantly delayed. Commit 244a1be5a has already addressed this issue by saving the listen_trid within each spdk_nvmf_rdma_qpair, allowing qpairs to retain the necessary information without depending on the lifetime of listen_id. This enables safe listener cleanup without delay, while still ensuring memory safety. Change-Id: Iabde285184377657addfe41ceeebea7bc41e52bc Signed-off-by:Kaiqi Chen <kaiqi.chen@smartx.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26352 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com>