Commit 052151a9 authored by Chuck Lever's avatar Chuck Lever Committed by Anna Schumaker

xprtrdma: Display XIDs in host byte order

xprtsock.c and the backchannel code display XIDs in host byte order.
Follow suit in xprtrdma.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Reviewed-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 284f4902
...@@ -766,7 +766,8 @@ rpcrdma_reply_handler(struct rpcrdma_rep *rep) ...@@ -766,7 +766,8 @@ rpcrdma_reply_handler(struct rpcrdma_rep *rep)
spin_unlock(&xprt->transport_lock); spin_unlock(&xprt->transport_lock);
dprintk("RPC: %s: reply 0x%p failed " dprintk("RPC: %s: reply 0x%p failed "
"to match any request xid 0x%08x len %d\n", "to match any request xid 0x%08x len %d\n",
__func__, rep, headerp->rm_xid, rep->rr_len); __func__, rep, be32_to_cpu(headerp->rm_xid),
rep->rr_len);
repost: repost:
r_xprt->rx_stats.bad_reply_count++; r_xprt->rx_stats.bad_reply_count++;
rep->rr_func = rpcrdma_reply_handler; rep->rr_func = rpcrdma_reply_handler;
...@@ -782,13 +783,14 @@ rpcrdma_reply_handler(struct rpcrdma_rep *rep) ...@@ -782,13 +783,14 @@ rpcrdma_reply_handler(struct rpcrdma_rep *rep)
spin_unlock(&xprt->transport_lock); spin_unlock(&xprt->transport_lock);
dprintk("RPC: %s: duplicate reply 0x%p to RPC " dprintk("RPC: %s: duplicate reply 0x%p to RPC "
"request 0x%p: xid 0x%08x\n", __func__, rep, req, "request 0x%p: xid 0x%08x\n", __func__, rep, req,
headerp->rm_xid); be32_to_cpu(headerp->rm_xid));
goto repost; goto repost;
} }
dprintk("RPC: %s: reply 0x%p completes request 0x%p\n" dprintk("RPC: %s: reply 0x%p completes request 0x%p\n"
" RPC request 0x%p xid 0x%08x\n", " RPC request 0x%p xid 0x%08x\n",
__func__, rep, req, rqst, headerp->rm_xid); __func__, rep, req, rqst,
be32_to_cpu(headerp->rm_xid));
/* from here on, the reply is no longer an orphan */ /* from here on, the reply is no longer an orphan */
req->rl_reply = rep; req->rl_reply = rep;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment