mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
SUNRPC: Trace xprt_timer events
Track RPC timeouts: report the XID and the server address to match the content of network capture. Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
This commit is contained in:
parent
9ab6d89e74
commit
82476d9f95
3 changed files with 5 additions and 3 deletions
|
|
@ -940,8 +940,8 @@ static void xprt_timer(struct rpc_task *task)
|
|||
|
||||
if (task->tk_status != -ETIMEDOUT)
|
||||
return;
|
||||
dprintk("RPC: %5u xprt_timer\n", task->tk_pid);
|
||||
|
||||
trace_xprt_timer(xprt, req->rq_xid, task->tk_status);
|
||||
if (!req->rq_reply_bytes_recvd) {
|
||||
if (xprt->ops->timer)
|
||||
xprt->ops->timer(xprt, task);
|
||||
|
|
|
|||
|
|
@ -516,8 +516,6 @@ xprt_rdma_set_port(struct rpc_xprt *xprt, u16 port)
|
|||
static void
|
||||
xprt_rdma_timer(struct rpc_xprt *xprt, struct rpc_task *task)
|
||||
{
|
||||
dprintk("RPC: %5u %s: xprt = %p\n", task->tk_pid, __func__, xprt);
|
||||
|
||||
xprt_force_disconnect(xprt);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue