Whamcloud - gitweb
LU-12901 o2iblnd: retry qp creation with reduced queue depth 48/40748/4
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Tue, 24 Nov 2020 19:59:46 +0000 (14:59 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 13 Dec 2020 08:23:11 +0000 (08:23 +0000)
commit8a3ef5713cc4aed1ac7bd3ce177895caa597cc4c
tree61768c9676eba3536bf6b1ea2755020544104507
parent9d033c40ac0ec1b50905769e87697f0dd5017c52
LU-12901 o2iblnd: retry qp creation with reduced queue depth

If negotiated number of frags * queue depth is too large for
successful qp creation, reduce the queue depth in a loop
until qp creation succeeds or the queue depth dips below 2.
Remember the reduced queue depth value to use for later
connections to the same peer.

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: Iaa91510d6f80d813218a06a9bc52f5f9251e8b87
Reviewed-on: https://review.whamcloud.com/40748
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h