All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oren Laadan <orenl-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org>
To: Dan Smith <danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: [PATCH 4/4] Add some content to the readme.txt for socket c/r
Date: Fri, 23 Oct 2009 15:41:23 -0400	[thread overview]
Message-ID: <4AE206E3.7010904@librato.com> (raw)
In-Reply-To: <1256072803-3518-5-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>



Dan Smith wrote:
> Signed-off-by: Dan Smith <danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

Nicely put !

> ---
>  Documentation/checkpoint/readme.txt |   21 +++++++++++++++++++++
>  1 files changed, 21 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/checkpoint/readme.txt b/Documentation/checkpoint/readme.txt
> index 571c469..e6c173d 100644
> --- a/Documentation/checkpoint/readme.txt
> +++ b/Documentation/checkpoint/readme.txt
> @@ -334,6 +334,27 @@ we will be forced to more carefully review each of those features.
>  However, this can be controlled with a sysctl-variable.
>  
>  
> +Sockets
> +=======
> +
> +For AF_UNIX sockets, both endpoints must be within the checkpointed
> +task set to maintain a connected state after restart.  UNIX sockets
> +that are in the process of passing a descriptor will cause the
> +checkpoint to fail with -EBUSY indicating a transient state that
> +cannot be checkpointed.  Listening sockets with an unaccepted peer
> +will also cause an -EBUSY result.
> +
> +AF_INET sockets with endpoints outside the checkpointed task set may
> +remain open if care is taken to avoid TCP timeouts and resets.
> +Careful use of a virtual IP address can help avoid emission of an RST
> +to the non-checkpointed endpoint.  If desired, the
> +RESTART_SOCK_LISTENONLY flag may be passed to the restart syscall
> +which will cause all connected AF_INET sockets to be closed during the
> +restore process.  Listening sockets will still be restored to their
> +original state, which makes this mode a candidate for something like
> +an HTTP server.
> +
> +
>  Kernel interfaces
>  =================
>  

  parent reply	other threads:[~2009-10-23 19:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 21:06 c/r: Add support for connected AF_INET sockets Dan Smith
     [not found] ` <1256072803-3518-1-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-20 21:06   ` [PATCH 1/4] Record and restore skb header marks Dan Smith
     [not found]     ` <1256072803-3518-2-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-21 15:52       ` Serge E. Hallyn
     [not found]         ` <20091021155201.GA15402-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-21 15:57           ` Dan Smith
2009-10-20 21:06   ` [PATCH 3/4] Adjust TCP timestamp values by a scalar value Dan Smith
     [not found]     ` <1256072803-3518-4-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-21 18:06       ` Serge E. Hallyn
     [not found]         ` <20091021180638.GA24465-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-21 18:10           ` Dan Smith
2009-10-20 21:06   ` [PATCH 4/4] Add some content to the readme.txt for socket c/r Dan Smith
     [not found]     ` <1256072803-3518-5-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-23 19:41       ` Oren Laadan [this message]
2009-10-20 21:06 ` [PATCH 2/4] [RFC] Add c/r support for connected INET sockets Dan Smith
2009-10-21 17:56   ` Serge E. Hallyn
2009-10-21 18:05     ` Dan Smith
2009-10-23 19:37   ` Oren Laadan
  -- strict thread matches above, loose matches on Subject: below --
2009-11-10 18:47 Add " Dan Smith
     [not found] ` <1257878856-25520-1-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-11-10 18:47   ` [PATCH 4/4] Add some content to the readme.txt for socket c/r Dan Smith
2009-11-17 15:26 Add support for connected INET sockets Dan Smith
     [not found] ` <1258471590-29768-1-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-11-17 15:26   ` [PATCH 4/4] Add some content to the readme.txt for socket c/r Dan Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE206E3.7010904@librato.com \
    --to=orenl-rdfvbdnroixbdgjk7y7tuq@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.