diff options
| author | Jan Kara <jack@suse.cz> | 2025-09-12 12:38:36 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-09-19 13:11:05 +0200 |
| commit | 66c14dccd810d42ec5c73bb8a9177489dfd62278 (patch) | |
| tree | f7a32b05d3b14eebf91d6097a9d1dc819fddf977 /scripts/generate_rust_analyzer.py | |
| parent | writeback: Avoid contention on wb->list_lock when switching inodes (diff) | |
| download | linux-66c14dccd810d42ec5c73bb8a9177489dfd62278.tar.gz linux-66c14dccd810d42ec5c73bb8a9177489dfd62278.zip | |
writeback: Avoid softlockup when switching many inodes
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
