Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd7243
)
b=11686
author
bobijam
<bobijam>
Thu, 21 Jun 2007 03:37:37 +0000
(
03:37
+0000)
committer
bobijam
<bobijam>
Thu, 21 Jun 2007 03:37:37 +0000
(
03:37
+0000)
i=green, adilger
improve some error messages.
lustre/ptlrpc/client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
6366cf1
..
c256a40
100644
(file)
--- 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)