Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 23:27:39 +0000
From:      Mark Valentine <mark@valentine.me.uk>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        arch@freebsd.org
Subject:   Re: Alignment of disk-I/O from userland.
Message-ID:  <200310062227.h96MRdUf075168@dotar.thuvia.org>
In-Reply-To: <200310062222.h96MM6MO093683@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
> Date: Mon 6 Oct, 2003
> Subject: Re: Alignment of disk-I/O from userland.

> I think you've got that backwards.  When we had block devices, they
> would provide extra buffering to avoid I/O-size breakage.  Character
> devices, which are all we have now, never made any promises.

My point was that we did have block devices which could make such
promises, and that without them the raw device must offer an equivalent
promise (especially when you consider binary compatibility - a program
opening /dev/da0c was written assuming a block device interface).

		Cheers,

		Mark.

-- 
"Tigers will do ANYTHING for a tuna fish sandwich."
"We're kind of stupid that way."   *munch* *munch*
  -- <http://www.calvinandhobbes.com>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310062227.h96MRdUf075168>