9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Mike Haertel <mike@ducky.net>
To: 9fans@cse.psu.edu
Cc: rog@vitanuova.com
Subject: Re: [9fans] 9P2000
Date: Tue, 30 Jan 2001 10:04:58 -0800	[thread overview]
Message-ID: <200101301804.f0UI4wr01897@ducky.net> (raw)
In-Reply-To: <20010130110451.132A3199F7@mail.cse.psu.edu>

>there's one case where the client has to be a bit careful about the
>size of messages it generates. a Twalk message can itself fit inside
>the negotiated msize, but require an Rwalk that will not do so. (e.g.
>walking down several short pathname elements).  it might be worth
>requiring a minimum message size of 1+4+2+2+MAXWELEM*13 = 217 which
>would avoid this problem.

This is not nearly as bad as the directory entry situation.  A
client that specified a very small mside could be held responsible
for not producing Twalks whose corresponding Rwalks would exceed
the msize; this would be under control of the client and so is
an avoidable situation.

But the client has no control whatever over the size of a directory
entry it is about to read.  It is helpless.


  reply	other threads:[~2001-01-30 18:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-30 12:09 rog
2001-01-30 18:04 ` Mike Haertel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-31  9:31 Russ Cox
2001-01-31 17:46 ` Mike Haertel
2001-01-31  2:18 rob pike
2001-01-31  2:16 rob pike
2001-01-31  8:56 ` Mike Haertel
2001-01-27 21:58 rob pike
2001-01-28 16:29 ` Sam Ducksworth
2001-01-30  9:21 ` Mike Haertel

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=200101301804.f0UI4wr01897@ducky.net \
    --to=mike@ducky.net \
    --cc=9fans@cse.psu.edu \
    --cc=rog@vitanuova.com \
    /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).