Re: [PATCH wq/for-4.13-fixes] workqueue: implicit ordered attribute should be overridable

From: Tejun Heo
Date: Tue Jul 25 2017 - 13:29:50 EST


On Sun, Jul 23, 2017 at 08:36:15AM -0400, Tejun Heo wrote:
> 5c0338c68706 ("workqueue: restore WQ_UNBOUND/max_active==1 to be
> ordered") automatically enabled ordered attribute for unbound
> workqueues w/ max_active == 1. Because ordered workqueues reject
> max_active and some attribute changes, this implicit ordered mode
> broke cases where the user creates an unbound workqueue w/ max_active
> == 1 and later explicitly changes the related attributes.
>
> This patch distinguishes explicit and implicit ordered setting and
> overrides from attribute changes if implict.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Fixes: 5c0338c68706 ("workqueue: restore WQ_UNBOUND/max_active==1 to be ordered")

Applied to wq/for-4.13-fixes.

Thanks.

--
tejun