+22
−16
Loading
This issue was introduced with the sock async connect feature, as the icreq is sent to the socket but queued and flushed only after a successful TCP connection. Therefore, setting the icreq timeout beforehand is incorrect. Moved icreq send to sock connect callback so behavior is restored. Fabric connect poll is deferred now because conceptually there is no reason to invoke it before sock connection is established. Change-Id: I24fe850f558f8813d643562d86fd0ec96101149c Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26113 Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com>