Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343824

Re: Freezable workqueue blocks non-freezable workqueue during the system resume process

From Peter Chen <hzpeterchen@gmail.com>
Newsgroups linux.kernel
Subject Re: Freezable workqueue blocks non-freezable workqueue during the system resume process
Date 2016-02-26 07:30 +0100
Message-ID <r6k4x-7wm-3@gated-at.bofh.it> (permalink)
References <r5bPH-7KL-1@gated-at.bofh.it> <r5nea-7n1-21@gated-at.bofh.it> <r5C3w-16C-11@gated-at.bofh.it> <r6cgG-1Uy-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 25, 2016 at 05:01:12PM -0500, Tejun Heo wrote:
> Hello, Peter.
> 
> On Wed, Feb 24, 2016 at 03:24:30PM +0800, Peter Chen wrote:
> > > You might want to complain to the block-layer people about this.  I 
> > > don't know if anything can be done to fix it.
> > > 
> > > Or maybe flush_work and flush_delayed_work can be changed to avoid 
> > > blocking if the workqueue is frozen.  Tejun?
> > > 
> > 
> > I have a patch to show the root cause of this issue.
> > 
> > http://www.spinics.net/lists/linux-usb/msg136815.html
> 
> I don't get it.  Why would it deadlock?  Shouldn't things get rolling
> once the workqueues are thawed?
> 

Hi Tejun,

The workqueue writeback can't be thawed due to driver's resume
(dpm_complete) is lock nested, and can't be finished.

-- 

Best Regards,
Peter Chen

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Freezable workqueue blocks non-freezable workqueue during the system  resume process Peter Chen <hzpeterchen@gmail.com> - 2016-02-23 04:30 +0100
  Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Peter Chen <hzpeterchen@gmail.com> - 2016-02-23 11:00 +0100
  Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Alan Stern <stern@rowland.harvard.edu> - 2016-02-23 16:40 +0100
    Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Peter Chen <hzpeterchen@gmail.com> - 2016-02-24 08:30 +0100
      Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Tejun Heo <tj@kernel.org> - 2016-02-25 23:10 +0100
        Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Peter Chen <hzpeterchen@gmail.com> - 2016-02-26 07:30 +0100
          Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Tejun Heo <tj@kernel.org> - 2016-03-02 17:10 +0100
            Re: Freezable workqueue blocks non-freezable workqueue during the  system resume process Jan Kara <jack@suse.cz> - 2016-03-03 10:40 +0100

csiph-web