diff options
author | Chuck Lever <cel@netapp.com> | 2006-03-20 13:44:15 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:15 -0500 |
commit | e19b63dafdf7d615b0d36b90990a07e7792b9d3a (patch) | |
tree | 45474992fd5d6a1f4c4c49068ec6383429618515 /include/linux/sunrpc/sched.h | |
parent | 67ec9f46b889bfb1ab0a4e307d53929d5f0692bf (diff) | |
download | op-kernel-dev-e19b63dafdf7d615b0d36b90990a07e7792b9d3a.zip op-kernel-dev-e19b63dafdf7d615b0d36b90990a07e7792b9d3a.tar.gz |
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/linux/sunrpc/sched.h')
-rw-r--r-- | include/linux/sunrpc/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index a390c9b..6c23f73 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h @@ -203,6 +203,7 @@ struct rpc_wait_queue { unsigned char priority; /* current priority */ unsigned char count; /* # task groups remaining serviced so far */ unsigned char nr; /* # tasks remaining for cookie */ + unsigned short qlen; /* total # tasks waiting in queue */ #ifdef RPC_DEBUG const char * name; #endif |