SUNRPC: introduce per-task RPC iostats
[deliverable/linux.git] / net / sunrpc / clnt.c
index cad7efe2cb225bd73d0e020004b4255ce99140ba..84eb5b4565fc8f5a5646365df0e1d32d79624a70 100644 (file)
@@ -996,6 +996,8 @@ call_timeout(struct rpc_task *task)
        }
 
        dprintk("RPC: %4d call_timeout (major)\n", task->tk_pid);
+       task->tk_timeouts++;
+
        if (RPC_IS_SOFT(task)) {
                printk(KERN_NOTICE "%s: server %s not responding, timed out\n",
                                clnt->cl_protname, clnt->cl_server);
This page took 0.024193 seconds and 5 git commands to generate.