Re: Writeback threads and freezable

Tejun Heo
2013-12-13T18:52:44Z

On Fri, Dec 13, 2013 at 12:49:32PM -0500, Tejun Heo wrote:
> I'm not completely sure what to do. We can make an exception for
> bdi_wq and thaw it early but that breaks the guarantee that bdi is
> frozen between device suspend and resume invocations and we might as
> well just remove WQ_FREEZABLE from it. I don't know.

Ugh, so I removed WQ_FREEZABLE on bdi and the same deadlock now
happens through jbd2 which is a freezable kthread. This whole kthread
freezer thing is rotten and fundamentally broken. :(

--
tejun