[lustre-devel] [PATCH 14/28] lnet: o2iblnd: 'Timed out tx' error message

James Simmons jsimmons at infradead.org
Sun Nov 15 16:59:47 PST 2020

From: Brian Behlendorf <behlendorf1 at llnl.gov>

Trivial fix to report the total RDMA time outstanding rather
than the number of seconds past the deadline.

WC-bug-id: https://jira.whamcloud.com/browse/LU-1742
Lustre-commit: 2be289a2b1f12b ("LU-1742 o2iblnd: 'Timed out tx' error message")
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-on: https://review.whamcloud.com/3622
Reviewed-by: Chris Horn <chris.horn at hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov at whamcloud.com>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
 net/lnet/klnds/o2iblnd/o2iblnd_cb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/lnet/klnds/o2iblnd/o2iblnd_cb.c b/net/lnet/klnds/o2iblnd/o2iblnd_cb.c
index 9de733d..3d7026b 100644
--- a/net/lnet/klnds/o2iblnd/o2iblnd_cb.c
+++ b/net/lnet/klnds/o2iblnd/o2iblnd_cb.c
@@ -3219,6 +3219,7 @@ static int kiblnd_map_tx(struct lnet_ni *ni, struct kib_tx *tx,
 		if (ktime_compare(ktime_get(), tx->tx_deadline) >= 0) {
 			CERROR("Timed out tx: %s, %lld seconds\n",
 			       kiblnd_queue2str(conn, txs),
+			       kiblnd_timeout() +
 					      tx->tx_deadline) / MSEC_PER_SEC);
 			return 1;

More information about the lustre-devel mailing list