aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/sched.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index d39729e2b893..7751d3a05497 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -33,6 +33,8 @@ struct rpc_wait_queue;
33struct rpc_wait { 33struct rpc_wait {
34 struct list_head list; /* wait queue links */ 34 struct list_head list; /* wait queue links */
35 struct list_head links; /* Links to related tasks */ 35 struct list_head links; /* Links to related tasks */
36 struct list_head timer_list; /* Timer list */
37 unsigned long expires;
36}; 38};
37 39
38/* 40/*
@@ -191,6 +193,12 @@ struct rpc_task_setup {
191#define RPC_PRIORITY_HIGH (1) 193#define RPC_PRIORITY_HIGH (1)
192#define RPC_NR_PRIORITY (1 + RPC_PRIORITY_HIGH - RPC_PRIORITY_LOW) 194#define RPC_NR_PRIORITY (1 + RPC_PRIORITY_HIGH - RPC_PRIORITY_LOW)
193 195
196struct rpc_timer {
197 struct timer_list timer;
198 struct list_head list;
199 unsigned long expires;
200};
201
194/* 202/*
195 * RPC synchronization objects 203 * RPC synchronization objects
196 */ 204 */
@@ -203,6 +211,7 @@ struct rpc_wait_queue {
203 unsigned char count; /* # task groups remaining serviced so far */ 211 unsigned char count; /* # task groups remaining serviced so far */
204 unsigned char nr; /* # tasks remaining for cookie */ 212 unsigned char nr; /* # tasks remaining for cookie */
205 unsigned short qlen; /* total # tasks waiting in queue */ 213 unsigned short qlen; /* total # tasks waiting in queue */
214 struct rpc_timer timer_list;
206#ifdef RPC_DEBUG 215#ifdef RPC_DEBUG
207 const char * name; 216 const char * name;
208#endif 217#endif