Skip to content

Commit ba679de

Browse files
Kemeng Shibrauner
authored andcommitted
fs/writeback: correct comment of __wakeup_flusher_threads_bdi
Commit e8e8a0c ("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: Kemeng Shi <shikemeng@huaweicloud.com> Link: https://lore.kernel.org/r/20240228091958.288260-6-shikemeng@huaweicloud.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 639924a commit ba679de

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fs/fs-writeback.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,8 +2332,7 @@ void wb_workfn(struct work_struct *work)
23322332
}
23332333

23342334
/*
2335-
* Start writeback of `nr_pages' pages on this bdi. If `nr_pages' is zero,
2336-
* write back the whole world.
2335+
* Start writeback of all dirty pages on this bdi.
23372336
*/
23382337
static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi,
23392338
enum wb_reason reason)

0 commit comments

Comments
 (0)