Tejun Heo
9c5a2ba702
workqueue: separate out drain_workqueue() from destroy_workqueue()
...
There are users which want to drain workqueues without destroying it.
Separate out drain functionality from destroy_workqueue() into
drain_workqueue() and make it accessible to workqueue users.
To guarantee forward-progress, only chain queueing is allowed while
drain is in progress. If a new work item which isn't chained from the
running or pending work items is queued while draining is in progress,
WARN_ON_ONCE() is triggered.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: James Bottomley <James.Bottomley@hansenpartnership.com>
2011-05-20 13:54:46 +02:00
..
2011-03-31 11:26:23 -03:00
2011-05-19 18:14:34 -07:00
2011-03-20 18:14:55 -07:00
2011-05-19 17:30:15 -07:00
2011-05-17 23:26:00 +02:00
2011-05-19 17:45:08 -07:00
2011-05-19 17:41:22 -07:00
2011-03-31 11:26:23 -03:00
2011-03-14 09:15:23 -04:00
2011-03-03 10:55:40 -08:00
2011-03-03 10:55:40 -08:00
2011-03-31 11:26:23 -03:00
2011-03-23 19:46:28 -07:00
2011-05-13 11:45:33 -07:00
2011-05-07 22:50:47 -07:00
2011-02-02 15:28:19 +01:00
2011-03-31 11:26:23 -03:00
2011-04-11 14:09:32 +02:00
2011-03-23 19:47:19 -07:00
2011-05-13 11:45:33 -07:00
2011-04-25 17:28:24 +02:00
2011-05-18 15:29:51 -04:00
2011-05-12 09:36:37 +02:00
2011-05-17 23:19:17 +02:00
2011-03-23 19:47:08 -07:00
2011-04-15 16:34:32 +02:00
2011-03-23 19:47:08 -07:00
2011-05-02 21:37:57 +02:00
2011-04-28 09:13:17 +02:00
2010-12-18 15:54:48 +01:00
2011-04-04 12:48:08 -04:00
2011-03-25 17:52:22 -07:00
2011-05-11 21:37:15 +02:00
2011-05-17 23:19:18 +02:00
2011-01-07 17:02:58 -08:00
2011-04-19 16:45:51 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-23 13:54:47 +01:00
2011-04-22 11:06:59 +02:00
2011-05-03 15:26:43 +02:00
2011-05-19 16:55:27 +09:30
2011-04-14 08:52:33 +02:00
2011-04-14 08:52:33 +02:00
2011-04-24 13:18:38 +02:00
2011-04-14 08:52:33 +02:00
2011-03-23 19:47:08 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:11 -07:00
2011-05-19 16:55:28 +09:30
2011-03-23 19:46:58 -07:00
2011-04-18 10:35:30 -07:00
2011-03-15 00:43:18 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:13 -07:00
2011-04-25 17:28:24 +02:00
2011-05-05 23:16:57 -07:00
2011-05-05 23:16:58 -07:00
2011-05-05 23:16:59 -07:00
2011-05-05 23:16:57 -07:00
2011-05-19 23:25:29 +02:00
2011-05-19 23:25:29 +02:00
2011-05-19 23:25:29 +02:00
2011-05-19 23:25:29 +02:00
2011-03-23 19:46:22 -07:00
2010-12-17 10:01:09 -08:00
2011-01-27 21:13:51 -05:00
2011-01-27 21:13:51 -05:00
2011-02-22 22:07:22 +01:00
2011-01-27 21:13:51 -05:00
2011-03-31 11:26:23 -03:00
2011-02-23 11:33:59 +01:00
2010-11-23 10:29:08 +01:00
2011-04-24 13:18:38 +02:00
2011-05-04 09:07:21 +02:00
2011-04-14 08:52:41 +02:00
2011-04-14 08:52:36 +02:00
2011-05-19 17:41:22 -07:00
2011-04-14 08:52:36 +02:00
2011-05-16 11:01:18 +02:00
2011-04-08 11:05:24 -07:00
2011-03-22 17:44:11 -07:00
2011-05-05 23:16:54 -07:00
2011-01-14 04:56:49 -08:00
2011-03-22 17:44:01 -07:00
2011-03-15 02:21:44 -04:00
2011-05-19 18:24:11 -07:00
2011-03-14 09:15:28 -04:00
2011-03-23 19:46:51 -07:00
2011-03-23 19:46:54 -07:00
2011-03-23 19:47:14 -07:00
2011-03-15 18:53:35 -07:00
2011-03-15 18:53:35 -07:00
2011-04-04 12:48:08 -04:00
2011-03-23 19:47:08 -07:00
2011-01-13 08:03:18 -08:00
2011-03-31 11:26:23 -03:00
2011-03-23 19:46:59 -07:00
2011-03-23 19:47:03 -07:00
2011-03-31 11:26:23 -03:00
2011-04-28 11:28:21 -07:00
2011-05-20 13:54:46 +02:00