Skip to content

Commit 3ec8db6

Browse files
Ryo TakakuraYuKuai-huawei
authored andcommitted
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 <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/linux-raid/[email protected] Signed-off-by: Yu Kuai <[email protected]>
1 parent 790abe4 commit 3ec8db6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)