Tejun Heo
162f50e691
workqueue: implicit ordered attribute should be overridable
...
commit 0a94efb5acbb6980d7c9ab604372d93cd507e4d8 upstream.
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@kernel.org >
Fixes: 5c0338c68706 ("workqueue: restore WQ_UNBOUND/max_active==1 to be ordered")
Cc: Holger Hoffstätte <holger@applied-asynchrony.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Willy Tarreau <w@1wt.eu >
2017-11-02 10:45:58 +01:00
..
2013-11-29 11:11:42 -08:00
2015-03-06 14:40:52 -08:00
2017-06-08 00:47:04 +02:00
2016-03-03 15:06:20 -08:00
2017-02-10 11:04:00 +01:00
2017-06-20 14:04:19 +02:00
2017-06-20 14:03:26 +02:00
2017-06-08 00:47:08 +02:00
2013-04-22 07:09:06 -07:00
2013-05-04 14:57:58 -04:00
2013-03-12 13:59:14 -07:00
2014-11-21 09:22:52 -08:00
2014-09-17 09:03:57 -07:00
2013-12-04 10:57:03 -08:00
2013-05-24 16:22:52 -07:00
2014-06-16 13:42:53 -07:00
2014-09-17 09:03:57 -07:00
2015-04-29 10:34:00 +02:00
2013-05-01 07:21:43 -07:00
2013-05-01 17:29:18 -04:00
2013-06-20 08:18:35 -10:00
2017-06-08 00:46:48 +02:00
2014-07-17 15:58:00 -07:00
2014-10-05 14:54:15 -07:00
2017-11-02 07:16:20 +01:00
2017-02-10 11:03:58 +01:00
2014-11-14 08:47:58 -08:00
2016-02-25 11:57:47 -08:00
2017-06-20 14:04:31 +02:00
2015-01-08 09:58:16 -08:00
2014-06-07 13:25:31 -07:00
2013-04-15 15:17:26 +09:30
2016-02-25 11:57:47 -08:00
2014-07-28 08:00:07 -07:00
2013-12-20 07:45:08 -08:00
2013-05-16 12:01:11 -07:00
2013-05-28 10:37:59 +02:00
2013-04-30 17:04:02 -07:00
2013-05-08 11:51:05 -07:00
2013-05-05 10:58:06 -07:00
2013-03-15 15:09:43 +10:30
2016-08-27 11:40:39 +02:00
2013-04-19 09:33:36 +02:00
2013-05-01 17:29:39 -04:00
2017-06-20 14:04:40 +02:00
2016-08-21 23:22:37 +02:00
2013-03-18 11:40:21 +00:00
2014-04-26 17:15:34 -07:00
2015-01-08 09:58:17 -08:00
2013-04-22 19:59:25 +02:00
2014-11-14 08:48:00 -08:00
2017-06-20 14:04:54 +02:00
2013-05-01 17:29:18 -04:00
2017-06-08 00:47:06 +02:00
2013-06-18 11:32:10 -05:00
2017-02-10 11:04:00 +01:00
2013-05-05 00:16:35 -04:00
2013-06-10 13:37:12 -07:00
2013-06-10 13:37:11 -07:00
2013-05-08 10:13:35 -07:00
2016-03-03 15:06:24 -08:00
2013-02-07 20:51:08 +01:00
2014-07-17 15:58:04 -07:00
2013-04-10 14:48:37 +02:00
2017-06-08 00:46:48 +02:00
2014-07-17 15:58:04 -07:00
2013-03-23 15:53:52 -07:00
2013-03-26 11:07:19 +11:00
2013-04-30 17:04:08 -07:00
2016-08-21 23:22:33 +02:00
2014-09-17 09:03:57 -07:00
2015-02-11 14:48:17 +08:00
2015-05-17 09:51:33 -07:00
2013-02-07 15:19:36 -08:00
2013-02-26 22:25:17 +01:00
2013-05-09 13:46:38 -04:00
2013-06-12 16:29:44 -07:00
2013-05-09 14:53:20 -04:00
2017-06-20 14:04:15 +02:00
2013-04-29 18:28:42 -07:00
2015-01-29 17:40:56 -08:00
2013-02-16 23:17:25 +01:00
2017-02-10 11:03:36 +01:00
2014-05-30 21:52:11 -07:00
2015-01-08 09:58:16 -08:00
2015-01-08 09:58:17 -08:00
2013-02-27 19:10:24 -08:00
2015-01-08 09:58:16 -08:00
2013-02-27 19:10:22 -08:00
2013-05-01 17:29:39 -04:00
2013-03-14 08:24:05 +01:00
2013-04-30 17:04:02 -07:00
2017-11-02 10:45:58 +01:00