patch-2.1.79 linux/include/linux/sunrpc/sched.h

Next file: linux/include/linux/sunrpc/stats.h
Previous file: linux/include/linux/skbuff.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/include/linux/sunrpc/sched.h linux/include/linux/sunrpc/sched.h
@@ -89,6 +89,7 @@
 #define RPC_TASK_ROOTCREDS	0x0100		/* force root creds */
 #define RPC_TASK_DYNAMIC	0x0200		/* task was kmalloc'ed */
 #define RPC_TASK_KILLED		0x0400		/* task was killed */
+#define RPC_TASK_NFSWRITE	0x1000		/* an NFS writeback */
 
 #define RPC_IS_RUNNING(t)	((t)->tk_flags & RPC_TASK_RUNNING)
 #define RPC_IS_ASYNC(t)		((t)->tk_flags & RPC_TASK_ASYNC)
@@ -145,6 +146,9 @@
 void		rpc_free(void *);
 int		rpciod_up(void);
 void		rpciod_down(void);
+#ifdef RPC_DEBUG
+void		rpc_show_tasks(void);
+#endif
 
 extern __inline__ void *
 rpc_malloc(struct rpc_task *task, unsigned int size)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov