From: Dan Smith <danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Alexey Dobriyan
<adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH 1/2] c/r: Add AF_UNIX support (v5)
Date: Wed, 08 Jul 2009 09:55:46 -0700 [thread overview]
Message-ID: <8763e3qfl9.fsf@caffeine.danplanet.com> (raw)
In-Reply-To: <4A54CCDB.1090602-eQaUEPhvms7ENvBUuze7eA@public.gmane.org> (Oren Laadan's message of "Wed\, 08 Jul 2009 12\:44\:11 -0400")
OL> It will mostly fix the buffer limits, but not entirely: if the
OL> original socket first raised the limits above defualt, then sent
OL> data (not read by peer), then you'll still need to adjust the
OL> limit before restoring the buffers.
If we cap the buffers in the checkpoint image to the current system
limit (sysctl) and then set the per-socket buffer limit (after reading
them in) to the value in the checkpoint image then we get the desired
result, right?
OL> I can't predict the future, but it's been there forever...
Yeah, after I sent that I remembered that the magic 108 is in the
sockaddr_un structure which is a userspace API and therefore not
likely to change.
OL> But the point is that I would interpret ENOSPC as "storage/space
OL> is exhausted", while here the error is that this value is simply
OL> invalid for the particular kernel on which the restart occurs.
Yep, fair enough.
OL> In the original system, once the file becomes unreachable it
OL> cannot be made reachable again by simple (re)mounting, IOW it can
OL> no longer be connected-to.
Ah, I thought you meant "was reachable on the source system and not
reachable on the target system". I'm with you now :)
--
Dan Smith
IBM Linux Technology Center
email: danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org
next prev parent reply other threads:[~2009-07-08 16:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 19:26 [RFC] Add Checkpoint/Restart support for UNIX and INET sockets Dan Smith
[not found] ` <1246994776-1882-1-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-07-07 19:26 ` [PATCH 1/2] c/r: Add AF_UNIX support (v5) Dan Smith
[not found] ` <1246994776-1882-2-git-send-email-danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-07-08 6:32 ` Oren Laadan
2009-07-08 14:01 ` Serge E. Hallyn
2009-07-08 19:27 ` Dan Smith
2009-07-08 22:01 ` Serge E. Hallyn
[not found] ` <4A543D82.5080408-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-07-08 15:23 ` Dan Smith
2009-07-08 16:44 ` Oren Laadan
[not found] ` <4A54CCDB.1090602-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-07-08 16:55 ` Dan Smith [this message]
2009-07-08 18:16 ` Oren Laadan
2009-07-07 19:26 ` [PATCH 2/2] c/r: Add AF_INET support (v3) Dan Smith
2009-07-08 1:23 ` Brian Haley
[not found] ` <4A53F50D.30001-VXdhtT5mjnY@public.gmane.org>
2009-07-08 1:31 ` Dan Smith
2009-07-08 13:58 ` Oren Laadan
2009-07-08 15:30 ` Dan Smith
2009-07-13 19:02 ` John Dykstra
2009-07-13 19:10 ` Dan Smith
2009-07-24 20:44 ` John Dykstra
2009-07-28 17:22 ` Oren Laadan
2009-07-25 21:02 ` John Dykstra
2009-07-28 16:00 ` Dan Smith
2009-07-28 17:07 ` Oren Laadan
[not found] ` <4A6F306A.40303-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org>
2009-07-29 22:10 ` John Dykstra
2009-07-29 0:28 ` John Dykstra
2009-07-31 19:35 ` John Dykstra
2009-07-31 19:40 ` 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=8763e3qfl9.fsf@caffeine.danplanet.com \
--to=danms-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=orenl-eQaUEPhvms7ENvBUuze7eA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).