Loading
test/nvmf/delete_subsystem: Increase bdev_delay timeout
The default rdma_cm event timeout value is 1 second, it is used to wait for CM_EVENT_DISCONNECTED. If the event was not received, we forcefully disconnect a qpair. When admin qpair is disconnected, the ctlrlr is makred as failed and we no longer call transport->qpair_process_completions. Due to that we do not poll rdmacm event channel and detect IO qpairs disconnect events. In that case, if a ctrlr on target is shut down, we can detect rdma_cm event disconnected for those qpair which were fast enough to be disconnected before the adminq qpair. All other qpairs remain in established state. This patch increases IO timeout in bdev_delay, in that case most of IO qpairs are disconnected after the adminq and we can verify fix for the described issue. Change-Id: Ibcb15eee8843cb29fc7433413481ab3605a8cb67 Signed-off-by:Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25915 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com>