Date: Sun, 19 Sep 2004 08:14:55 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/specfs spec_vnops.c src/sys/ufs/ffs ffs_vnops.c Message-ID: <200409190814.i8J8Et46073358@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004-09-19 08:14:55 UTC FreeBSD src repository Modified files: sys/fs/specfs spec_vnops.c sys/ufs/ffs ffs_vnops.c Log: 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 the list. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409190814.i8J8Et46073358>