From owner-cvs-all Mon Dec 27 23:31: 0 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 158B1153EF; Mon, 27 Dec 1999 23:30:58 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA04145; Mon, 27 Dec 1999 23:30:57 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <199912280730.XAA04145@freefall.freebsd.org> From: Peter Wemm Date: Mon, 27 Dec 1999 23:30:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c vm_swap.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/12/27 23:30:56 PST Modified files: sys/vm swap_pager.c vm_swap.c Log: Fix the swap backed vn case - this was broken by my rev 1.128 to swap_pager.c and related commits. Essentially swap_pager.c is backed out to before the changes, but swapdev_vp is converted into a real vnode with just VOP_STRATEGY(). It no longer abuses specfs vnops and no longer needs a dev_t and /dev/drum (or /dev/swapdev) for the intermediate layer. This essentially restores the vnode interface as the interface to the bottom of the swap pager, and vm_swap.c provides a clean vnode interface. This will need to be revisited when we swap to files (vnodes) - which is the other reason for keeping the vnode interface between the swap pager and the swap devices. OK'ed by: dillon Revision Changes Path 1.130 +9 -14 src/sys/vm/swap_pager.c 1.94 +43 -10 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message