9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] dns vs. textrr
Date: Thu, 19 Jan 2012 18:56:55 -0500	[thread overview]
Message-ID: <44c2a0c73c586878a569ee074cdd084a@coraid.com> (raw)
In-Reply-To: <EB9FA4E6-D6CC-401D-90A2-852E26FBBAD0@orthanc.ca>

On Thu Jan 19 18:33:42 EST 2012, lyndon@orthanc.ca wrote:
>
> On 2012-01-19, at 2:12 PM, erik quanstrom wrote:
>
> > that seems a bit ... goofy. it would seem better for
> > bio to do this internally?  surely there isn't code that
> > relies on this behavior?
>
> Or maybe realloc() a larger buffer and try to carry on?  There's no guarantee of buffer pointer consistency across B* calls, is there?  Default to 8K (or whatever), and place an adjustable cap of, say, 128K, on the dynamic bsize.

sizing the buffer has been considered (putting in a cap puts the
caller in the same position as before).  it's probablly the best option,
if the goal is to rehabilitate Brdline().  i'm wondering if it shouldn't
just be considered depricated.

- erik



  reply	other threads:[~2012-01-19 23:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 16:01 erik quanstrom
2012-01-19 17:00 ` Jeff Sickel
2012-01-19 17:17   ` erik quanstrom
2012-01-19 22:12     ` erik quanstrom
2012-01-19 23:32       ` Lyndon Nerenberg
2012-01-19 23:56         ` erik quanstrom [this message]
2012-01-20  0:11           ` Lyndon Nerenberg
2012-01-20  0:14             ` erik quanstrom
2012-01-20  0:39               ` Lyndon Nerenberg
2012-01-20  6:31     ` Jeff Sickel

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=44c2a0c73c586878a569ee074cdd084a@coraid.com \
    --to=quanstro@labs.coraid.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).