Date: Mon, 27 Dec 1999 23:30:57 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c vm_swap.c Message-ID: <199912280730.XAA04145@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912280730.XAA04145>
