Skip to content

Commit fc6df80

Browse files
Wanpeng Litorvalds
authored andcommitted
mm/writeback: commit reason of WB_REASON_FORKER_THREAD mismatch name
After commit 839a8e8 ("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>
1 parent 25d130b commit fc6df80

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎include/linux/writeback.h‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ enum wb_reason {
4747
WB_REASON_LAPTOP_TIMER,
4848
WB_REASON_FREE_MORE_MEM,
4949
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+
*/
5056
WB_REASON_FORKER_THREAD,
5157

5258
WB_REASON_MAX,

0 commit comments

Comments
 (0)