Re: [PATCH 2/2] c/r: Add AF_INET support (v3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Dykstra
Date: Tuesday, July 28, 2009 - 5:28 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] c/r: Add AF_UNIX support (v5), Dan Smith, (Tue Jul 7, 12:26 pm)
[PATCH 2/2] c/r: Add AF_INET support (v3), Dan Smith, (Tue Jul 7, 12:26 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Brian Haley, (Tue Jul 7, 6:23 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Dan Smith, (Tue Jul 7, 6:31 pm)
Re: [PATCH 1/2] c/r: Add AF_UNIX support (v5), Oren Laadan, (Tue Jul 7, 11:32 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Oren Laadan, (Wed Jul 8, 6:58 am)
Re: [PATCH 1/2] c/r: Add AF_UNIX support (v5), Serge E. Hallyn, (Wed Jul 8, 7:01 am)
Re: [PATCH 1/2] c/r: Add AF_UNIX support (v5), Dan Smith, (Wed Jul 8, 8:23 am)
Re: [PATCH 1/2] c/r: Add AF_UNIX support (v5), Dan Smith, (Wed Jul 8, 12:27 pm)
Re: [PATCH 1/2] c/r: Add AF_UNIX support (v5), Serge E. Hallyn, (Wed Jul 8, 3:01 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), John Dykstra, (Mon Jul 13, 12:02 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Dan Smith, (Mon Jul 13, 12:10 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), John Dykstra, (Fri Jul 24, 1:44 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), John Dykstra, (Sat Jul 25, 2:02 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Dan Smith, (Tue Jul 28, 9:00 am)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Oren Laadan, (Tue Jul 28, 10:07 am)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Oren Laadan, (Tue Jul 28, 10:22 am)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), John Dykstra, (Tue Jul 28, 5:28 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), John Dykstra, (Wed Jul 29, 3:10 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), John Dykstra, (Fri Jul 31, 12:35 pm)
Re: [PATCH 2/2] c/r: Add AF_INET support (v3), Dan Smith, (Fri Jul 31, 12:40 pm)