On Tue, 2009-07-28 at 09:00 -0700, Dan Smith wrote:
Agreed.
Can this relationship be counted on--that checkpoints in the init
namespace will be stored indefinitely, and that otherwise the
checkpointed tree will be migrated in a bounded amount of time? I think
you'll need to differentiate the two cases to get proper network
behavior, so there needs to be some reliable and documented indicator.
Or should this be an advise option?
It's not as functional as the rest of the code. The listening address
is hardwired and you're not restoring the socket state. I'm assuming
that was intended as a development step.
It seems there's a wide range of requirements here. A tree migrating
within a rack doesn't want to do slow-start again, nor restart its RTT
metrics. But in the general case, you do need to. Maybe the scaling of
congestion window and RTT on restore should be a tunable.
Right now, you're passing zero. For inet and inet6 sockets, you want to
pass field num out of ckpt_hdr_socket_inet.
As long as the function is only used for this, you're fine. But it's
named very generally, and if it get used in the future for something
else, there might be a hole.
-- John
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html