From: Wanpeng Li Date: Mon, 8 Jul 2013 23:00:15 +0000 (-0700) Subject: mm/writeback: commit reason of WB_REASON_FORKER_THREAD mismatch name X-Git-Tag: v3.11-rc1~67^2~81 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc6df808aaf00eed564e2e7fc0f246691363cd12;p=karo-tx-linux.git 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 Reviewed-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 { WB_REASON_LAPTOP_TIMER, WB_REASON_FREE_MORE_MEM, WB_REASON_FS_FREE_SPACE, + /* + * There is no bdi forker thread any more and works are done + * by emergency worker, however, this is TPs userland visible + * and we'll be exposing exactly the same information, + * so it has a mismatch name. + */ WB_REASON_FORKER_THREAD, WB_REASON_MAX,