diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2024-02-28 10:19:57 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-04-05 15:53:45 +0200 |
commit | ba679de9c3fc511f457ea0ad8f5a22e9152fa07b (patch) | |
tree | 4d0a228206b765f0f11cb4f410b2b74c7b2c76d1 /fs/fs-writeback.c | |
parent | fs/writeback: only calculate dirtied_before when b_io is empty (diff) | |
download | linux-ba679de9c3fc511f457ea0ad8f5a22e9152fa07b.tar.xz linux-ba679de9c3fc511f457ea0ad8f5a22e9152fa07b.zip |
fs/writeback: correct comment of __wakeup_flusher_threads_bdi
Commit e8e8a0c6c9bfc ("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>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index cbfb3e05e120..e853da9a7fbb 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -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, - * write back the whole world. + * Start writeback of all dirty pages on this bdi. */ static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi, enum wb_reason reason) |