Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation

From: Nigel Cunningham
Date: Mon Jan 30 2012 - 16:10:41 EST


Hi.

On 31/01/12 08:05, Rafael J. Wysocki wrote:
> On Monday, January 30, 2012, Jan Kara wrote:
>> On Sat 28-01-12 14:45:49, Rafael J. Wysocki wrote:
>>> + /*
>>> + * Freeze in reverse order so filesystems depending on others are
>>> + * frozen in the right order (eg. loopback on ext3).
>>> + */
>> Ho, hum, are you sure the order in super_blocks list is the one you need?
>> Maybe it is but I'm not sure you are guaranteed it is.
>
> Well, is there any way I can get the right order?

Jan, what's the case where the reverse of mount order might be the wrong
order?

Regards,

Nigel
--
Evolution (n): A hypothetical process whereby improbable
events occur with alarming frequency, order arises from chaos, and
no one is given credit.
--
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/