Whamcloud - gitweb
LU-1742 o2iblnd: 'Timed out tx' error message 22/3622/4
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Aug 2012 23:58:20 +0000 (16:58 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Oct 2020 04:30:58 +0000 (04:30 +0000)
Trivial fix to report the total RDMA time outstanding rather
than the number of seconds past the deadline.

Change-Id: I0ef9b7b9b31a4d27adf4f3f33da46c503e5ca49e
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-on: https://review.whamcloud.com/3622
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c

index eacc525..7e078b2 100644 (file)
@@ -3281,6 +3281,7 @@ kiblnd_check_txs_locked(struct kib_conn *conn, struct list_head *txs)
                if (ktime_compare(ktime_get(), tx->tx_deadline) >= 0) {
                        CERROR("Timed out tx: %s, %lld seconds\n",
                               kiblnd_queue2str(conn, txs),
+                              kiblnd_timeout() +
                               ktime_ms_delta(ktime_get(),
                                              tx->tx_deadline) / MSEC_PER_SEC);
                        return 1;