9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Distributed Pipelines
Date: Tue,  4 May 2010 12:51:19 -0700	[thread overview]
Message-ID: <z2rdd6fe68a1005041251hf8f6e41fk87d2f67dd89f8fda@mail.gmail.com> (raw)
In-Reply-To: <z2h13426df11005041136m85063ef8g67ba7aa7fa63ee92@mail.gmail.com>

TCP doesn't preserve message boundaries.

The pre-9P2000 kernels relied on having a transport
protocol that preserved message boundaries in order
to work one 9P packet at a time with ordinary read calls.
You could work around it by pushing an "fcall" stream module
to reinsert the boundaries on TCP, but it was extra hassle.

In the 9P2000 rewrite, we introduced a read9pmsg function
to the C library and fixed the kernel to do the same, so
that the protocol and its implementations would not
depend on the underlying transport for message boundaries.

So it doesn't matter anymore.  The fix was in the 9P
implementations, not IPv6.

Russ


  parent reply	other threads:[~2010-05-04 19:51 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 23:56 Akshat Kumar
2010-04-26  0:40 ` Steve Simon
2010-04-26  0:50   ` Akshat Kumar
2010-04-26  5:45     ` Eric Van Hensbergen
2010-04-26  7:33       ` Akshat Kumar
2010-04-26  7:55         ` Eric Van Hensbergen
2010-04-26 20:00           ` Akshat Kumar
2010-04-26 21:20             ` erik quanstrom
2010-04-26 21:57               ` Akshat Kumar
2010-04-26 22:17                 ` erik quanstrom
2010-04-27  8:48                   ` Derek Fawcus
2010-04-27  4:29             ` Tim Newsham
2010-04-27  4:31               ` lucio
2010-04-27 12:04                 ` erik quanstrom
2010-04-27 12:46               ` erik quanstrom
2010-05-01 18:51                 ` Ryousei Takano
2010-05-01 19:40                   ` David du Colombier
2010-05-03  3:19                     ` Ryousei Takano
2010-05-03 18:10                       ` David du Colombier
2010-05-03 20:22                         ` Russ Cox
2010-05-04 15:46                           ` Jorden M
2010-05-04 17:44                             ` ron minnich
2010-05-04 18:16                               ` erik quanstrom
2010-05-04 18:36                                 ` ron minnich
2010-05-04 18:50                                   ` erik quanstrom
2010-05-04 19:51                                   ` Russ Cox [this message]
2010-05-04 19:59                                     ` erik quanstrom

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=z2rdd6fe68a1005041251hf8f6e41fk87d2f67dd89f8fda@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /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).