From: bobijam Date: Thu, 21 Jun 2007 03:37:37 +0000 (+0000) Subject: b=11686 X-Git-Tag: v1_8_0_110~1517 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=15e880d5cdacc37d9f1988b89f7f8841a5f816e6;p=fs%2Flustre-release.git b=11686 i=green, adilger improve some error messages. --- 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)