summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/rpc-clnt.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-09-14 04:09:52 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-14 03:48:57 -0700
commitdf331224c570d85f597d51b6072c44c1ff5f46f5 (patch)
tree8e4b6a1299e70b43dcb171459c70fdeff2ea2605 /rpc/rpc-lib/src/rpc-clnt.c
parent9446e8d3ec23e43352ab589ca53ea42413c21588 (diff)
rpc: print xid of the rpcreq corresponding to frame being bailed out.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'rpc/rpc-lib/src/rpc-clnt.c')
-rw-r--r--rpc/rpc-lib/src/rpc-clnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c
index 4b01a3c0494..79be1acaea8 100644
--- a/rpc/rpc-lib/src/rpc-clnt.c
+++ b/rpc/rpc-lib/src/rpc-clnt.c
@@ -186,13 +186,13 @@ call_bail (void *data)
strftime (frame_sent, 32, "%Y-%m-%d %H:%M:%S", &frame_sent_tm);
gf_log (conn->trans->name, GF_LOG_ERROR,
- "bailing out frame type(%s) op(%s(%d)) sent = %s. "
- "timeout = %d",
+ "bailing out frame type(%s) op(%s(%d)) xid = %u "
+ "sent = %s. timeout = %d",
trav->rpcreq->prog->progname,
(trav->rpcreq->prog->procnames) ?
trav->rpcreq->prog->procnames[trav->rpcreq->procnum] :
"--",
- trav->rpcreq->procnum, frame_sent,
+ trav->rpcreq->procnum, trav->rpcreq->xid, frame_sent,
conn->frame_timeout);
trav->rpcreq->rpc_status = -1;