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

Jeff Roberson jroberson at chesapeake.net
Thu Mar 27 08:15:12 PST 2003


On Wed, 26 Mar 2003, Tor Egge wrote:

> tegge       2003/03/26 15:40:42 PST
>
>   FreeBSD src repository
>
>   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.
>

Hey, this is great stuff.  It wish we could have talked about it a bit
before it was commited.. Most of ffs_rawread.c is fairly generic.  Do you
think you could make a vfs_direct.c or similar and move the generic bits
in there?  It looks like you could keep the ffs specific bits to a minimum
and then leave the rest as helper functions.

Do you have an application that is using this immediately?

Cheers,
Jeff



More information about the cvs-src mailing list