workqueue: dump workqueue state on sanity check failures in destroy_workqueue()
authorTejun Heo <tj@kernel.org>
Mon, 5 Sep 2016 12:54:06 +0000 (08:54 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 5 Sep 2016 12:54:06 +0000 (08:54 -0400)
commit278930ada88c972d20025b0f20def27b1a09dff7
treef5775cce5d54fd7aad6159be601d4cfc3e1e3840
parentc6935931c1894ff857616ff8549b61236a19148f
workqueue: dump workqueue state on sanity check failures in destroy_workqueue()

destroy_workqueue() performs a number of sanity checks to ensure that
the workqueue is empty before proceeding with destruction.  However,
it's not always easy to tell what's going on just from the warning
message.  Let's dump workqueue state after sanity check failures to
help debugging.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/CACT4Y+Zs6vkjHo9qHb4TrEiz3S4+quvvVQ9VWvj2Mx6pETGb9Q@mail.gmail.com
Cc: Dmitry Vyukov <dvyukov@google.com>
kernel/workqueue.c
This page took 0.026723 seconds and 5 git commands to generate.