Skip to content

Commit af73b3b

Browse files
committed
md/raid5: unset WQ_CPU_INTENSIVE for raid5 unbound workqueue
JIRA: https://issues.redhat.com/browse/RHEL-94433 commit 3ec8db6 Author: Ryo Takakura <ryotkkr98@gmail.com> Date: Sun Jun 1 10:37:02 2025 +0900 md/raid5: unset WQ_CPU_INTENSIVE for raid5 unbound workqueue When specified with WQ_CPU_INTENSIVE, the workqueue doesn't participate in concurrency management. This behaviour is already accounted for WQ_UNBOUND workqueues given that they are assigned to their own worker threads. Unset WQ_CPU_INTENSIVE as the use of flag has no effect when used with WQ_UNBOUND. Signed-off-by: Ryo Takakura <ryotkkr98@gmail.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/linux-raid/20250601013702.64640-1-ryotkkr98@gmail.com Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
1 parent a03fa6b commit af73b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/raid5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9036,7 +9036,7 @@ static int __init raid5_init(void)
90369036
int ret;
90379037

90389038
raid5_wq = alloc_workqueue("raid5wq",
9039-
WQ_UNBOUND|WQ_MEM_RECLAIM|WQ_CPU_INTENSIVE|WQ_SYSFS, 0);
9039+
WQ_UNBOUND|WQ_MEM_RECLAIM|WQ_SYSFS, 0);
90409040
if (!raid5_wq)
90419041
return -ENOMEM;
90429042

0 commit comments

Comments
 (0)