+33
−0
Loading
Single qpair completions already checks for timeouts on a qpair, meanwhile poll group completions were missing it. To be sure we'd have to check all connected qpairs with outstanding_reqs on them. Since this is a hot path, instead create a new list containing of only qpairs that have outstanding I/O and their controller has timeout_enabled. This mimics similar behaviour as in nvme_rdma. Change-Id: Ib851f3501b89808d56b2caea83ca6f03d4c1ce6e Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25758 Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com>