Re: Back to the future.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Xavier Bestel <xavier.bestel@...>, Pekka Enberg <penberg@...>, LKML <linux-kernel@...>
Date: Thursday, April 26, 2007 - 4:08 pm

Hi.

On Thu, 2007-04-26 at 10:34 -0700, Linus Torvalds wrote:
d=20

It doesn't need a fully functional userspace (unless you want to write
to a fuse device, and even then that could be worked around - make it
like uswsusp or userui).... can I deverge for a second and say that from
this point of view, fuse is the lamest idea ever invented. Guaranteed to
break your ability to suspend^Wsnapshot.... Anyhow, if the kernel has
bmapped the pages it's going to write to beforehand, it knows where the
image needs to go. No need for userspace at all.

t=20
y=20

We tried that. It would need some work. IIRC remounting filesystems
read-only makes files become marked read-only. Perfectly sensible,
except that if you then remount the filesystem rw at resume time, all
those files are still marked ro and userspace crashes and burns. Not
unfixable, I'll agree, but there is more work to do there.

As to the example, mounting a new filesystem for writing the snapshot
image should probably be done before we do the snapshot. Then it won't
be in danger of triggering anything that might require one of the other
fses to be rw (eg syslog).

r=20

Yes, it has been difficult. But so is bringing up a child.

=20
=20
e=20

I don't think it's fair to blame swsusp there. Maybe cpu hotplugging...

=20
t=20
=20

Perhaps you should try to make an alternative yourself instead of
pushing us into making something we don't believe will work (my case) or
have already done but in a way you don't like (Rafael). Don't talk about
Pavel cutting code. He's just acking/nacking what Rafael sends him.

Nigel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Back to the future., Nigel Cunningham, (Thu Apr 26, 2:04 am)
Re: Back to the future., Jan Engelhardt, (Thu Apr 26, 4:38 am)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 5:33 am)
Re: Back to the future., Pekka Enberg, (Thu Apr 26, 3:28 am)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 3:42 am)
Re: Back to the future., Linus Torvalds, (Thu Apr 26, 12:56 pm)
Re: Back to the future., Chase Venters, (Thu Apr 26, 2:22 pm)
Re: Back to the future., David Lang, (Thu Apr 26, 2:50 pm)
Re: Back to the future., Linus Torvalds, (Thu Apr 26, 1:07 pm)
Re: Back to the future., Pavel Machek, (Fri Apr 27, 8:49 am)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 5:26 pm)
Re: Back to the future., David Lang, (Fri Apr 27, 6:12 pm)
Re: Back to the future., Pavel Machek, (Thu Apr 26, 6:42 pm)
Re: Back to the future., David Lang, (Thu Apr 26, 6:24 pm)
Re: Back to the future., Pavel Machek, (Thu Apr 26, 7:12 pm)
Re: Back to the future., David Lang, (Thu Apr 26, 6:49 pm)
Re: Back to the future., Olivier Galibert, (Thu Apr 26, 8:23 pm)
Re: Back to the future., Pavel Machek, (Thu Apr 26, 7:27 pm)
Re: Back to the future., David Lang, (Thu Apr 26, 6:56 pm)
Re: Back to the future., Pavel Machek, (Thu Apr 26, 6:40 pm)
Re: Back to the future., Pekka Enberg, (Fri Apr 27, 1:41 am)
Re: Back to the future., Pavel Machek, (Fri Apr 27, 10:55 am)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 5:39 pm)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 3:56 pm)
Re: Back to the future., Pekka J Enberg, (Fri Apr 27, 12:52 am)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 4:44 pm)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 2:08 am)
Re: Back to the future., Pekka J Enberg, (Fri Apr 27, 2:18 am)
Re: Back to the future., Pekka J Enberg, (Fri Apr 27, 2:29 am)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 5:24 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 5:44 pm)
Re: Back to the future., Jeremy Fitzhardinge, (Fri Apr 27, 8:18 pm)
Re: Back to the future., Matthew Garrett, (Fri Apr 27, 9:00 pm)
Re: Back to the future., Jeremy Fitzhardinge, (Fri Apr 27, 9:05 pm)
Re: Back to the future., Pavel Machek, (Thu May 3, 11:14 am)
Re: Back to the future., Eric W. Biederman, (Fri Jun 1, 3:00 pm)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 9:08 pm)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 6:04 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 6:08 pm)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 6:41 pm)
Re: Back to the future., David Lang, (Fri Apr 27, 6:26 pm)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 7:21 pm)
Re: Back to the future., David Lang, (Fri Apr 27, 7:01 pm)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 8:02 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 7:17 pm)
Re: Back to the future., Pavel Machek, (Thu May 3, 11:25 am)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 7:45 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 7:59 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 8:18 pm)
Re: Back to the future., Pavel Machek, (Sat May 5, 7:42 am)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 9:00 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 9:12 pm)
Re: Back to the future., David Lang, (Fri Apr 27, 8:54 pm)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 9:44 pm)
Re: Back to the future., Pavel Machek, (Sat Apr 28, 4:50 am)
Re: Back to the future., David Lang, (Sat Apr 28, 2:32 pm)
Re: Back to the future., Rafael J. Wysocki, (Sat Apr 28, 3:14 pm)
Re: Back to the future., David Lang, (Sat Apr 28, 2:44 pm)
Re: Back to the future., Linus Torvalds, (Sat Apr 28, 12:28 pm)
Re: Back to the future., Rafael J. Wysocki, (Sat Apr 28, 1:50 pm)
Re: Back to the future., Linus Torvalds, (Sat Apr 28, 5:25 pm)
Re: Back to the future., Pavel Machek, (Sun Apr 29, 4:23 am)
Re: Back to the future., Rafael J. Wysocki, (Sun Apr 29, 5:22 am)
Re: Back to the future., Rafael J. Wysocki, (Sat Apr 28, 7:03 pm)
Re: Back to the future., Linus Torvalds, (Sat Apr 28, 7:45 pm)
Re: Back to the future., Kyle Moffett, (Sat Apr 28, 11:43 pm)
Re: Back to the future., Rafael J. Wysocki, (Sun Apr 29, 4:57 am)
Re: Back to the future., Pavel Machek, (Sun Apr 29, 4:59 am)
Re: Back to the future., Rafael J. Wysocki, (Sun Apr 29, 5:32 am)
Re: Back to the future., Nigel Cunningham, (Sat Apr 28, 8:01 pm)
Re: Back to the future., Rafael J. Wysocki, (Sat Apr 28, 5:24 am)
Re: Back to the future., Daniel Hazelton, (Fri Apr 27, 10:51 pm)
progress meter in s2disk (was Re: Back to the future.), Pavel Machek, (Sat Apr 28, 3:00 am)
Re: Back to the future., Paul Mackerras, (Fri Apr 27, 8:50 pm)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 7:57 pm)
Re: Back to the future., David Lang, (Fri Apr 27, 7:50 pm)
Re: Back to the future., Linus Torvalds, (Fri Apr 27, 8:40 pm)
Re: Back to the future., Pavel Machek, (Thu May 3, 1:18 pm)
Re: Back to the future., David Lang, (Sun May 6, 10:13 pm)
Re: Back to the future., Kyle Moffett, (Sun May 6, 11:33 pm)
Re: Back to the future., Pavel Machek, (Mon May 7, 8:48 am)
Re: Back to the future., Oliver Neukum, (Mon May 7, 8:52 am)
Re: Back to the future., , (Mon May 7, 10:37 am)
Re: Back to the future., Pavel Machek, (Mon May 7, 3:51 pm)
Re: Back to the future., , (Mon May 7, 3:55 pm)
Re: Back to the future., Pavel Machek, (Mon May 7, 4:38 pm)
Re: Back to the future., Disconnect, (Tue May 8, 1:36 pm)
Re: Back to the future., Oliver Neukum, (Sat Apr 28, 2:58 am)
Re: Back to the future., Pekka J Enberg, (Sat Apr 28, 5:16 am)
Re: Back to the future., David Lang, (Sat Apr 28, 2:28 pm)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 6:07 pm)
Re: Back to the future., Kyle Moffett, (Fri Apr 27, 9:03 pm)
Re: Back to the future., Pavel Machek, (Thu May 3, 11:10 am)
Re: Back to the future., Kyle Moffett, (Thu May 3, 12:53 pm)
Re: Back to the future., David Greaves, (Fri May 4, 3:52 am)
Re: Back to the future., Kyle Moffett, (Fri May 4, 9:27 am)
Re: Back to the future., Rafael J. Wysocki, (Fri Apr 27, 9:15 pm)
Re: Back to the future., David Lang, (Fri Apr 27, 8:51 pm)
Re: Back to the future., Kyle Moffett, (Fri Apr 27, 9:25 pm)
Re: Back to the future., Oliver Neukum, (Fri Apr 27, 5:50 am)
Re: Back to the future., Pekka J Enberg, (Fri Apr 27, 6:12 am)
Re: Back to the future., Rafael J. Wysocki, (Sat Apr 28, 6:35 am)
Re: Back to the future., David Lang, (Sat Apr 28, 2:43 pm)
Re: Back to the future., Rafael J. Wysocki, (Sat Apr 28, 3:37 pm)
Re: Back to the future., Oliver Neukum, (Fri Apr 27, 3:07 pm)
Re: Back to the future., Pekka Enberg, (Sat Apr 28, 5:22 am)
Re: Back to the future., Oliver Neukum, (Sat Apr 28, 9:37 am)
Re: Back to the future., Pavel Machek, (Thu May 3, 8:06 am)
Re: Back to the future., Indan Zupancic, (Fri May 4, 5:52 pm)
Re: Back to the future., Pavel Machek, (Sat May 5, 5:16 am)
Re: Back to the future., Indan Zupancic, (Sat May 5, 8:02 am)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 2:34 am)
Re: Back to the future., Pekka J Enberg, (Fri Apr 27, 2:50 am)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 3:03 am)
Re: Back to the future., Pekka J Enberg, (Fri Apr 27, 3:24 am)
Re: Back to the future., Bill Davidsen, (Sat Apr 28, 3:09 pm)
Re: Back to the future., Xavier Bestel, (Thu Apr 26, 1:03 pm)
Re: Back to the future., Linus Torvalds, (Thu Apr 26, 1:34 pm)
Re: Back to the future., Pekka Enberg, (Fri Apr 27, 3:51 am)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 4:08 pm)
Re: Back to the future., Linus Torvalds, (Thu Apr 26, 4:45 pm)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 4:50 pm)
Re: Back to the future., Olivier Galibert, (Thu Apr 26, 8:10 pm)
Re: Back to the future., Daniel Pittman, (Fri Apr 27, 6:21 am)
Re: Back to the future., Nigel Cunningham, (Fri Apr 27, 7:19 pm)
Re: Back to the future., Rafael J. Wysocki, (Thu Apr 26, 6:08 pm)
Re: Back to the future., Linus Torvalds, (Thu Apr 26, 7:15 pm)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 6:20 pm)
Re: Back to the future., Theodore Tso, (Thu Apr 26, 5:38 pm)
Re: Back to the future., Christoph Hellwig, (Fri Apr 27, 6:10 am)
Re: Back to the future., Pekka Enberg, (Thu Apr 26, 4:17 am)
Re: Back to the future., Nigel Cunningham, (Thu Apr 26, 5:28 am)
Re: Back to the future., Luca Tettamanti, (Thu Apr 26, 1:29 pm)