From owner-cvs-src@FreeBSD.ORG Sun Sep 19 08:14:56 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21B9E16A4CF; Sun, 19 Sep 2004 08:14:56 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1646143D54; Sun, 19 Sep 2004 08:14:56 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8J8EtRf073359; Sun, 19 Sep 2004 08:14:55 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8J8Et46073358; Sun, 19 Sep 2004 08:14:55 GMT (envelope-from phk) Message-Id: <200409190814.i8J8Et46073358@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 19 Sep 2004 08:14:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/specfs spec_vnops.c src/sys/ufs/ffs ffs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 08:14:56 -0000 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