From owner-cvs-all Sat Jan 4 14:10:39 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8870C37B401; Sat, 4 Jan 2003 14:10:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A6A143EA9; Sat, 4 Jan 2003 14:10:37 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h04MAafh094645; Sat, 4 Jan 2003 14:10:36 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h04MAaQL094638; Sat, 4 Jan 2003 14:10:36 -0800 (PST) Message-Id: <200301042210.h04MAaQL094638@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sat, 4 Jan 2003 14:10:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/hpfs hpfs_vnops.c src/sys/fs/msdosfs msdosfs_vnops.c src/sys/fs/specfs spec_vnops.c src/sys/fs/udf udf_vnops.c src/sys/isofs/cd9660 cd9660_vnops.c src/sys/kern vfs_bio.c vfs_default.c vnode_if.src src/sys/ufs/ufs ufs_vnops.c ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2003/01/04 14:10:36 PST Modified files: sys/fs/hpfs hpfs_vnops.c sys/fs/msdosfs msdosfs_vnops.c sys/fs/specfs spec_vnops.c sys/fs/udf udf_vnops.c sys/isofs/cd9660 cd9660_vnops.c sys/kern vfs_bio.c vfs_default.c vnode_if.src sys/ufs/ufs ufs_vnops.c sys/vm vm_swap.c Log: Temporarily introduce a new VOP_SPECSTRATEGY operation while I try to sort out disk-io from file-io in the vm/buffer/filesystem space. The intent is to sort VOP_STRATEGY calls into those which operate on "real" vnodes and those which operate on VCHR vnodes. For the latter kind, the call will be changed to VOP_SPECSTRATEGY, possibly conditionally for those places where dual-use happens. Add a default VOP_SPECSTRATEGY method which will call the normal VOP_STRATEGY. First time it is called it will print debugging information. This will only happen if a normal vnode is passed to VOP_SPECSTRATEGY by mistake. Add a real VOP_SPECSTRATEGY in specfs, which does what VOP_STRATEGY does on a VCHR vnode today. Add a new VOP_STRATEGY method in specfs to catch instances where the conversion to VOP_SPECSTRATEGY has not yet happened. Handle the request just like we always did, but first time called print debugging information. Apart up to two instances of console messages per boot, this amounts to a glorified no-op commit. If you get any of the messages on your console I would very much like a copy of them mailed to phk@freebsd.org Revision Changes Path 1.38 +1 -1 src/sys/fs/hpfs/hpfs_vnops.c 1.129 +1 -1 src/sys/fs/msdosfs/msdosfs_vnops.c 1.191 +39 -2 src/sys/fs/specfs/spec_vnops.c 1.19 +1 -1 src/sys/fs/udf/udf_vnops.c 1.84 +1 -1 src/sys/isofs/cd9660/cd9660_vnops.c 1.349 +12 -3 src/sys/kern/vfs_bio.c 1.70 +25 -0 src/sys/kern/vfs_default.c 1.60 +9 -0 src/sys/kern/vnode_if.src 1.222 +1 -1 src/sys/ufs/ufs/ufs_vnops.c 1.130 +1 -1 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message