Messages in this thread | | | Date | Tue, 31 Jan 2012 01:03:19 +0100 | From | Jan Kara <> | Subject | Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation |
| |
On Tue 31-01-12 08:10:37, Nigel Cunningham wrote: > 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? After some though, I'm not able to come up with a counterexample. As I wrote to Rafael, let's at least document that we rely on some ordering of super_blocks list.
Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR
| |