diff options
| author | Jan Kara <jack@suse.cz> | 2025-09-12 12:38:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-19 16:34:06 +0200 |
| commit | bd408c334f3a17d8c8dd3e35ada0e8a75a17f5ca (patch) | |
| tree | a0a888bc76d5a6170c32e9753ea0cdc80b0a8913 /include/net/aligned_data.h | |
| parent | 4bdabd52ca1bcdccd66027bea5e8e650b5dade62 (diff) | |
writeback: Avoid softlockup when switching many inodes
[ Upstream commit 66c14dccd810d42ec5c73bb8a9177489dfd62278 ]
process_inode_switch_wbs_work() can be switching over 100 inodes to a
different cgroup. Since switching an inode requires counting all dirty &
under-writeback pages in the address space of each inode, this can take
a significant amount of time. Add a possibility to reschedule after
processing each inode to avoid softlockups.
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
