[dm-devel] [dm] Planning to WARN_ON() when flush_scheduled_work() is used.

Tetsuo Handa penguin-kernel at I-love.SAKURA.ne.jp
Sat Feb 11 06:19:20 UTC 2023


Hello.

Like commit c4f135d64382 ("workqueue: Wrap flush_workqueue() using a macro")
says, flush_scheduled_work() is dangerous and will be forbidden. But I haven't
heard from you after https://lkml.kernel.org/r/YtF45oMcHMKXjIyy@redhat.com .

  https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp
  https://lkml.kernel.org/r/e170edc2-e5b9-4c8b-4ed3-7e2d7a2850dc@I-love.SAKURA.ne.jp

Please do clarify which work items does this flush_scheduled_work() need to wait.

Regards.



More information about the dm-devel mailing list