Subject: Re: direct I/O
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 03/01/2005 02:35:23
On Tue, Mar 01, 2005 at 11:02:38AM +0100, Jaromir Dolecek wrote:
> On Tue, Mar 01, 2005 at 01:53:39AM -0800, Chuck Silvers wrote:
> > On Mon, Feb 28, 2005 at 08:59:54AM -0400, Jared D.McNeill wrote:
> > > Solaris also supports 'forcedirectio' as a mount option. Are you 
> > > planning on supporting similar functionality as well?
> > 
> > we could do that too, it wouldn't be hard at all once we have O_DIRECT.
> 
> BTW, isn't O_DIRECT orthogonal to the loan-for-read()/write(), i.e.
> wouldn't it be useful to have both? The loan-for-X only avoids
> cost of copyin(), right?

yes, they're orthogonal.  I'm just thinking I'd rather implement
direct I/O first.

-Chuck