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

From: Tejun Heo
Date: Thu Dec 19 2013 - 12:24:25 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/