aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChuck Lever <cel@netapp.com>2006-03-20 13:44:15 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:15 -0500
commite19b63dafdf7d615b0d36b90990a07e7792b9d3a (patch)
tree45474992fd5d6a1f4c4c49068ec6383429618515 /include
parent67ec9f46b889bfb1ab0a4e307d53929d5f0692bf (diff)
SUNRPC: track length of RPC wait queues
RPC wait queue length will eventually be exported to userland via the RPC iostats interface. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index a390c9b8a01e..6c23f73a799a 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -203,6 +203,7 @@ struct rpc_wait_queue {
203 unsigned char priority; /* current priority */ 203 unsigned char priority; /* current priority */
204 unsigned char count; /* # task groups remaining serviced so far */ 204 unsigned char count; /* # task groups remaining serviced so far */
205 unsigned char nr; /* # tasks remaining for cookie */ 205 unsigned char nr; /* # tasks remaining for cookie */
206 unsigned short qlen; /* total # tasks waiting in queue */
206#ifdef RPC_DEBUG 207#ifdef RPC_DEBUG
207 const char * name; 208 const char * name;
208#endif 209#endif