diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-07-08 19:00:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 13:33:22 -0400 |
commit | fc6df808aaf00eed564e2e7fc0f246691363cd12 (patch) | |
tree | 477e6f1b9761b978e816ded53b1ad802cd119319 /include | |
parent | 25d130ba22362757a90135fd8a0f75cc7fc71e79 (diff) |
mm/writeback: commit reason of WB_REASON_FORKER_THREAD mismatch name
After commit 839a8e8660b6 ("writeback: replace custom worker pool
implementation with unbound workqueue"), there is no bdi forker thread
any more. However, WB_REASON_FORKER_THREAD is still used due to it is
TPs userland visible and we won't be exposing exactly the same
information with just a different name.
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/writeback.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index e1703ded543a..4e198ca1f685 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -47,6 +47,12 @@ enum wb_reason { | |||
47 | WB_REASON_LAPTOP_TIMER, | 47 | WB_REASON_LAPTOP_TIMER, |
48 | WB_REASON_FREE_MORE_MEM, | 48 | WB_REASON_FREE_MORE_MEM, |
49 | WB_REASON_FS_FREE_SPACE, | 49 | WB_REASON_FS_FREE_SPACE, |
50 | /* | ||
51 | * There is no bdi forker thread any more and works are done | ||
52 | * by emergency worker, however, this is TPs userland visible | ||
53 | * and we'll be exposing exactly the same information, | ||
54 | * so it has a mismatch name. | ||
55 | */ | ||
50 | WB_REASON_FORKER_THREAD, | 56 | WB_REASON_FORKER_THREAD, |
51 | 57 | ||
52 | WB_REASON_MAX, | 58 | WB_REASON_MAX, |