From 15e880d5cdacc37d9f1988b89f7f8841a5f816e6 Mon Sep 17 00:00:00 2001 From: bobijam Date: Thu, 21 Jun 2007 03:37:37 +0000 Subject: [PATCH] b=11686 i=green, adilger improve some error messages. --- lustre/ptlrpc/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 6366cf1..c256a40 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -952,7 +952,8 @@ int ptlrpc_expire_one_request(struct ptlrpc_request *req) int rc = 0; ENTRY; - DEBUG_REQ(D_ERROR|D_NETERROR, req, "timeout (sent at %lu, %lus ago)", + DEBUG_REQ(D_ERROR|D_NETERROR, req, "%s (sent at %lu, %lus ago)", + req->rq_net_err ? "network error" : "timeout", (long)req->rq_sent, CURRENT_SECONDS - req->rq_sent); if (imp != NULL && obd_debug_peer_on_timeout) -- 1.8.3.1