Whamcloud - gitweb
LU-16184 o2iblnd: fix deadline for tx on peer queue
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Fri, 23 Sep 2022 19:29:59 +0000 (12:29 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 11 Oct 2022 07:45:59 +0000 (07:45 +0000)
commit4664b7e48736c123e80e033d3361349a4868ee14
treef9eb22f8de0895983013d59b21e075c797265481
parent7bf6506efb60e7680c664bafacbfbf72b1b3f62a
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.

Lustre-change: https://review.whamcloud.com/48640
Lustre-commit: 4c89ee7d7b098c7f1e6566f49fa2940db577518d

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: Ie7cf5590b440b60f71527049953a64bb31d53578
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48641
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c