Skip to content

Commit b3c083e

Browse files
author
Ming Lei
committed
md/raid5: unset WQ_CPU_INTENSIVE for raid5 unbound workqueue
JIRA: https://issues.redhat.com/browse/RHEL-106845 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: Ming Lei <ming.lei@redhat.com>
1 parent 767c7c5 commit b3c083e

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
@@ -9040,7 +9040,7 @@ static int __init raid5_init(void)
90409040
int ret;
90419041

90429042
raid5_wq = alloc_workqueue("raid5wq",
9043-
WQ_UNBOUND|WQ_MEM_RECLAIM|WQ_CPU_INTENSIVE|WQ_SYSFS, 0);
9043+
WQ_UNBOUND|WQ_MEM_RECLAIM|WQ_SYSFS, 0);
90449044
if (!raid5_wq)
90459045
return -ENOMEM;
90469046

0 commit comments

Comments
 (0)