cvs commit: src/sys/fs/specfs spec_vnops.c src/sys/ufs/ffs
phk at FreeBSD.org
Sun Sep 19 01:14:56 PDT 2004
phk 2004-09-19 08:14:55 UTC
FreeBSD src repository
The getpages VOP was a good stab at getting scatter/gather I/O without
too much kernel copying, but it is not the right way to do it, and it is
in the way for straightening out the buffer cache.
The right way is to pass the VM page array down through the struct
bio to the disk device driver and DMA directly in to/out off the
physical memory. Once the VM/buf thing is sorted out it is next on
Retire most of vnode method. ffs_getpages(). It is not clear if what is
left shouldn't be in the default implementation which we now fall back to.
Retire specfs_getpages() as well, as it has no users now.
Revision Changes Path
1.228 +0 -181 src/sys/fs/specfs/spec_vnops.c
1.134 +5 -112 src/sys/ufs/ffs/ffs_vnops.c
More information about the cvs-src