Tejun Heo
34a08ae493
workqueue: implicit ordered attribute should be overridable
...
commit 0a94efb5ac upstream.
5c0338c687 ("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: 5c0338c687 ("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 >
2017-08-11 09:09:00 -07:00
..
2016-08-10 11:49:24 +02:00
2017-02-18 16:39:26 +01:00
2017-03-15 09:57:15 +08:00
2016-10-28 03:01:34 -04:00
2017-03-15 09:57:14 +08:00
2016-10-16 17:36:14 +02:00
2016-08-20 18:09:25 +02:00
2016-09-24 10:07:42 +02:00
2017-05-08 07:46:01 +02:00
2016-06-24 10:18:24 -07:00
2016-04-12 09:08:32 -07:00
2017-02-01 08:30:53 +01:00
2017-07-15 11:57:45 +02:00
2016-09-07 08:32:45 +02:00
2016-03-09 15:34:52 -08:00
2016-08-20 18:09:24 +02:00
2016-08-20 18:09:24 +02:00
2016-08-20 18:09:24 +02:00
2016-09-15 08:27:47 +02:00
2016-07-11 09:31:11 -07:00
2017-01-12 11:22:50 +01:00
2016-05-04 14:48:49 -07:00
2017-06-14 13:16:23 +02:00
2016-05-11 11:21:11 +02:00
2016-12-08 07:15:24 +01:00
2016-02-25 12:01:16 -08:00
2016-02-17 12:30:57 -08:00
2017-07-05 14:37:20 +02:00
2016-12-15 08:49:23 -08:00
2017-02-14 15:22:51 -08:00
2016-05-04 14:48:49 -07:00
2017-01-12 11:22:50 +01:00
2017-08-06 19:19:42 -07:00
2017-03-22 12:04:15 +01:00
2016-10-28 03:01:26 -04:00
2016-04-12 09:08:39 -07:00
2017-07-21 07:44:58 +02:00
2016-08-16 09:30:49 +02:00
2016-03-03 15:07:09 -08:00
2017-05-14 13:32:59 +02:00
2017-07-15 11:57:44 +02:00
2016-11-21 10:06:40 +01:00
2017-06-14 13:16:24 +02:00
2017-06-17 06:39:36 +02:00
2016-09-30 10:18:37 +02:00
2017-08-06 19:19:42 -07:00
2016-01-07 12:17:39 -05:00
2017-05-14 13:32:59 +02:00
2016-05-11 11:21:13 +02:00
2016-02-17 12:30:57 -08:00
2016-03-03 15:07:16 -08:00
2016-09-07 08:32:44 +02:00
2016-04-20 15:42:02 +09:00
2017-06-07 12:05:59 +02:00
2017-03-12 06:37:25 +01:00
2016-09-24 10:07:43 +02:00
2017-01-19 20:17:19 +01:00
2016-07-27 09:47:29 -07:00
2016-10-28 03:01:30 -04:00
2015-12-12 10:15:34 -08:00
2017-05-25 14:30:17 +02:00
2017-04-08 09:53:32 +02:00
2016-03-09 15:34:52 -08:00
2017-03-18 19:09:58 +08:00
2016-10-28 03:01:32 -04:00
2017-07-21 07:44:56 +02:00
2017-06-17 06:39:36 +02:00
2017-06-14 13:16:26 +02:00
2016-08-16 09:30:51 +02:00
2017-02-09 08:02:47 +01:00
2017-08-11 09:08:50 -07:00
2017-06-26 07:13:11 +02:00
2015-12-18 14:25:40 -08:00
2017-06-14 13:16:26 +02:00
2016-03-09 15:34:56 -08:00
2017-04-30 05:49:28 +02:00
2016-11-15 07:46:37 +01:00
2016-11-15 07:46:37 +01:00
2016-09-07 08:32:38 +02:00
2016-07-11 09:31:11 -07:00
2017-02-18 16:39:27 +01:00
2017-02-01 08:30:53 +01:00
2016-03-03 15:07:28 -08:00
2016-10-07 15:23:41 +02:00
2016-09-30 10:18:37 +02:00
2016-09-07 08:32:37 +02:00
2016-12-08 07:15:24 +01:00
2017-02-09 08:02:46 +01:00
2016-09-15 08:27:46 +02:00
2017-08-06 19:19:41 -07:00
2016-06-07 18:14:35 -07:00
2016-10-31 04:13:58 -06:00
2017-08-06 19:19:43 -07:00
2017-06-14 13:16:20 +02:00
2016-11-10 16:36:37 +01:00
2016-02-25 12:01:23 -08:00
2017-06-14 13:16:23 +02:00
2016-02-25 12:01:21 -08:00
2017-08-11 09:08:59 -07:00
2016-10-28 03:01:32 -04:00
2017-08-06 19:19:42 -07:00
2016-09-07 08:32:44 +02:00
2016-03-03 15:07:23 -08:00
2016-06-01 12:15:54 -07:00
2017-06-14 13:16:26 +02:00
2017-08-11 09:08:58 -07:00
2016-09-30 10:18:37 +02:00
2016-07-11 09:31:11 -07:00
2015-12-12 10:15:34 -08:00
2016-10-28 03:01:30 -04:00
2016-10-28 03:01:34 -04:00
2016-10-07 15:23:46 +02:00
2017-02-04 09:45:08 +01:00
2016-04-12 09:08:35 -07:00
2016-09-15 08:27:47 +02:00
2017-06-29 12:48:51 +02:00
2016-03-09 15:34:52 -08:00
2016-03-16 08:42:58 -07:00
2016-06-01 12:15:52 -07:00
2016-03-03 15:07:08 -08:00
2016-12-10 19:07:25 +01:00
2016-04-20 15:42:07 +09:00
2017-03-26 12:13:16 +02:00
2017-07-27 15:06:07 -07:00
2015-12-29 17:45:49 -08:00
2015-12-13 14:30:59 -08:00
2017-08-11 09:09:00 -07:00
2016-03-09 15:34:52 -08:00