Re: [PATCH v3] libata, freezer: avoid block device removal while system is frozen

Tejun Heo
2013-12-19T17:24:20Z

Hello,

On Wed, Dec 18, 2013 at 11:08:41PM +0100, Rafael J. Wysocki wrote:
> > This is something fundamentally broken. For now,
> > implement a funny workaround in libata - just avoid doing block device
> > hot[un]plug while the system is frozen. Kernel engineering at its
> > finest. :(
> >
> > v2: Add EXPORT_SYMBOL_GPL(pm_freezing) for cases where libata is built
> > as a module.
> >
> > v3: Comment updated and polling interval changed to 10ms as suggested
> > by Rafael.
>
> This one is fine by my FWIW.

Applied to libata/for-3.13-fixes. I liberally added your reviewed-by
from the above response. Please let me know if I should remove it.
I'll push it out to Linus after it spends a couple days in -next.

Thanks!

--
tejun