Date: Tue, 17 Apr 2001 01:56:39 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/coda coda_vnops.c src/sys/fs/hpfs hpfs_vnops.c src/sys/kern vfs_bio.c vfs_cluster.c vfs_default.c vfs_subr.c vnode_if.src src/sys/nfs nfs_bio.c nfs_vnops.c src/sys/ntfs ntfs_vnops.c src/sys/sys buf.h vnode.h src/sys/ufs/mfs mfs_vnops.c ... Message-ID: <200104170856.f3H8ud685278@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2001/04/17 01:56:39 PDT Modified files: sys/coda coda_vnops.c sys/fs/hpfs hpfs_vnops.c sys/kern vfs_bio.c vfs_cluster.c vfs_default.c vfs_subr.c vnode_if.src sys/nfs nfs_bio.c nfs_vnops.c sys/ntfs ntfs_vnops.c sys/sys buf.h vnode.h sys/ufs/mfs mfs_vnops.c sys/vm vm_pager.c Log: This patch removes the VOP_BWRITE() vector. VOP_BWRITE() was a hack which made it possible for NFS client side to use struct buf with non-bio backing. This patch takes a more general approach and adds a bp->b_op vector where more methods can be added. The success of this patch depends on bp->b_op being initialized all relevant places for some value of "relevant" which is not easy to determine. For now the buffers have grown a b_magic element which will make such issues a tiny bit easier to debug. Revision Changes Path 1.29 +1 -2 src/sys/coda/coda_vnops.c 1.12 +1 -2 src/sys/fs/hpfs/hpfs_vnops.c 1.275 +9 -2 src/sys/kern/vfs_bio.c 1.106 +3 -1 src/sys/kern/vfs_cluster.c 1.44 +1 -9 src/sys/kern/vfs_default.c 1.306 +2 -2 src/sys/kern/vfs_subr.c 1.40 +1 -9 src/sys/kern/vnode_if.src 1.90 +20 -1 src/sys/nfs/nfs_bio.c 1.165 +5 -20 src/sys/nfs/nfs_vnops.c 1.18 +1 -2 src/sys/ntfs/ntfs_vnops.c 1.116 +15 -2 src/sys/sys/buf.h 1.144 +1 -3 src/sys/sys/vnode.h 1.59 +1 -2 src/sys/ufs/mfs/mfs_vnops.c 1.70 +3 -1 src/sys/vm/vm_pager.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?200104170856.f3H8ud685278>