Re: cvs commit: src/sys/conf NOTES files options src/sys/kern vfs_bio.c src/sys/ufs/ffs ffs_rawread.c ffs_vnops.c

From: Nate Lawson <nate_at_root.org>
Date: Wed, 26 Mar 2003 22:20:34 -0800 (PST)
On Wed, 26 Mar 2003, Tor Egge wrote:
>   Modified files:
>     sys/conf             NOTES files options 
>     sys/kern             vfs_bio.c 
>     sys/ufs/ffs          ffs_vnops.c 
>   Added files:
>     sys/ufs/ffs          ffs_rawread.c 
>   Log:
>   Add support for reading directly from file to userland buffer when the
>   O_DIRECT descriptor status flag is set and both offset and length is a
>   multiple of the physical media sector size.
>   
>   Revision  Changes    Path
>   1.1141    +13 -0     src/sys/conf/NOTES
>   1.772     +1 -0      src/sys/conf/files
>   1.385     +2 -0      src/sys/conf/options
>   1.381     +12 -0     src/sys/kern/vfs_bio.c
>   1.1       +498 -0    src/sys/ufs/ffs/ffs_rawread.c (new)
>   1.107     +13 -0     src/sys/ufs/ffs/ffs_vnops.c

Not just "thanks", but "this is awesome!"  I have been wanting this for
many applications, including scsi_target.  BTW, I noticed it appears to
have been developed on 4.x and it would be nice if it got better locking
for 5.x eventually.

Thanks,
Nate
Received on Wed Mar 26 2003 - 22:20:34 UTC