Whamcloud - gitweb
LU-213 using direct io for quota test to avoid cache problem
[fs/lustre-release.git] / lustre / kernel_patches / patches / export-show_task-2.6.18-vanilla.patch
1 Export the show_task() function in order to get better process stacks.
2 It will also print the current process stack, which is useful.
3
4 This is a nice-to-have but not required for Lustre to work.
5
6 Index: linux-2.6/kernel/sched.c
7 ===================================================================
8 --- linux-2.6.orig/kernel/sched.c       2006-07-15 11:51:46.000000000 +0800
9 +++ linux-2.6/kernel/sched.c    2006-07-15 16:24:35.000000000 +0800
10 @@ -4698,6 +4698,7 @@ static void show_task(struct task_struct
11  
12                 show_stack(p, NULL);
13  }
14 +EXPORT_SYMBOL(sched_show_task);
15  
16  void show_state(void)
17  {