Commit ba679de9 authored by Kemeng Shi's avatar Kemeng Shi Committed by Christian Brauner

fs/writeback: correct comment of __wakeup_flusher_threads_bdi

Commit e8e8a0c6 ("writeback: move nr_pages == 0 logic to one
location") removed parameter nr_pages of __wakeup_flusher_threads_bdi
and we try to writeback all dirty pages in __wakeup_flusher_threads_bdi
now. Just correct stale comment.
Signed-off-by: default avatarKemeng Shi <shikemeng@huaweicloud.com>
Link: https://lore.kernel.org/r/20240228091958.288260-6-shikemeng@huaweicloud.comReviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 639924ab
...@@ -2332,8 +2332,7 @@ void wb_workfn(struct work_struct *work) ...@@ -2332,8 +2332,7 @@ void wb_workfn(struct work_struct *work)
} }
/* /*
* Start writeback of `nr_pages' pages on this bdi. If `nr_pages' is zero, * Start writeback of all dirty pages on this bdi.
* write back the whole world.
*/ */
static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi, static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi,
enum wb_reason reason) enum wb_reason reason)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment