From: Brian Behlendorf Date: Mon, 13 Aug 2012 23:58:20 +0000 (-0700) Subject: LU-1742 o2iblnd: 'Timed out tx' error message X-Git-Tag: 2.13.57~112 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2be289a2b1f12bddce06e9eee65b5581b0b9fb5d LU-1742 o2iblnd: 'Timed out tx' error message 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 Reviewed-on: https://review.whamcloud.com/3622 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Chris Horn Reviewed-by: Serguei Smirnov Reviewed-by: Oleg Drokin --- diff --git a/lnet/klnds/o2iblnd/o2iblnd_cb.c b/lnet/klnds/o2iblnd/o2iblnd_cb.c index eacc525..7e078b2 100644 --- a/lnet/klnds/o2iblnd/o2iblnd_cb.c +++ b/lnet/klnds/o2iblnd/o2iblnd_cb.c @@ -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;