Subject: Re: loaning for read() of regular files
To: Jason Thorpe <thorpej@shagadelic.org>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 03/01/2005 02:08:55
On Mon, Feb 28, 2005 at 01:08:03PM -0800, Jason Thorpe wrote:
> 
> On Feb 27, 2005, at 11:00 PM, Chuck Silvers wrote:
> 
> >(instead I'm looking at direct I/O, which I'll post more about 
> >shortly.)
> 
> FreeBSD has some code for this.  Can we leverage it at all?  Last time 
> I looked at it, it looked fairly well isolated in the FFS code.

my version is fs-independent (except for the hook in the VOP_READ / VOP_WRITE
code to call it), and that seems more desirable than making it fs-specific.

-Chuck