]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm thin: add cond_resched() to various workqueue loops
authorMike Snitzer <snitzer@kernel.org>
Thu, 16 Feb 2023 20:29:44 +0000 (15:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:26:43 +0000 (16:26 +0100)
commit341c77bbed7cf76465ea9d2db9a4ef37fd8c95ec
tree2fe97ad1c1f3d3c561830a2fc450e263c475153c
parentc996443c0a9464d86fe54f64e3997fd83dd5e3da
dm thin: add cond_resched() to various workqueue loops

[ Upstream commit e4f80303c2353952e6e980b23914e4214487f2a6 ]

Otherwise on resource constrained systems these workqueues may be too
greedy.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-thin.c