Whamcloud - gitweb
LU-16184 o2iblnd: fix deadline for tx on peer queue 40/48640/2
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Fri, 23 Sep 2022 19:29:59 +0000 (12:29 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Oct 2022 05:38:22 +0000 (05:38 +0000)
commit4c89ee7d7b098c7f1e6566f49fa2940db577518d
treea7447977ad68e05953d9058dbe0c41c340bdbce4
parent1aba6b0d9b661d3699cbd4624e9db334a13fc647
LU-16184 o2iblnd: fix deadline for tx on peer queue

In o2iblnd, deadline is checked for txs on peer queue,
but not set prior to adding the tx to the queue. This
may cause the tx to be dropped unnecessarily with
"Timed out tx for ..." warning.

Fix it by setting the tx_deadline when adding tx to peer queue.

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: Ie7cf5590b440b60f71527049953a64bb31d53578
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48640
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c