Re: C/R without "leaks"

From: Chris Friesen
Date: Thu Apr 16 2009 - 14:12:29 EST


Alexey Dobriyan wrote:
On Thu, Apr 16, 2009 at 12:42:17AM +0200, Greg Kurz wrote:
On Wed, 2009-04-15 at 23:56 +0400, Alexey Dobriyan wrote:

There are sockets and live netns as the most complex example. I'm not
prepared to describe it exactly, but people wishing to do C/R with
"leaks" should be very careful with their wishes.
They should close their sockets before checkpoint and find/have some way
to reconnect after. This implies some kind of C/R awareness in the code
to be checkpointed.

How do you imagine sshd closing sockets and reconnecting?

Don't you already have to handle the case where an sshd connection is checkpointed, then the system is shutdown and the restore doesn't happen until after the TCP timeout?

Chris
--
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/