From df331224c570d85f597d51b6072c44c1ff5f46f5 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Tue, 14 Sep 2010 04:09:52 +0000 Subject: rpc: print xid of the rpcreq corresponding to frame being bailed out. Signed-off-by: Raghavendra G Signed-off-by: Vijay Bellur 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 --- rpc/rpc-lib/src/rpc-clnt.c | 6 +++--- 1 file 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; -- cgit