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

Tejun Heo
2013-12-14T20:36:56Z

On Sat, Dec 14, 2013 at 03:31:21PM -0500, Tejun Heo wrote:
> So, all this is about hibernation? Does that mean that it's safe to
> unfreeze before invoking resume? ie. we currently do,
>
> freeze
> suspend devs
> resume devs
> unfreeze
>
> If we can just do,
>
> freeze
> suspend devs
> unfreeze
> resume devs

Ummm... even better, does that mean, in the long term, we can decouple
freezing and device pm operations? If this is just about hibernation,
there's no reason to wrap device driver pm ops with freezer, right?

Thanks.

--
tejun