DragonFly commits List (threaded) for 2004-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/conf kmod.mk src/sys/emulation/linux/i386/linprocfs linprocfs.h linprocfs_subr.c linprocfs_vfsops.c linprocfs_vnops.c src/sys/kern vfs_default.c vfs_init.c vfs_subr.c vfs_syscalls.c vfs_vopops.c src/sys/sys vfscache.h mount.h vfsops.h vnode.h ...
dillon 2004/08/17 11:57:37 PDT
DragonFly src repository
Modified files:
sys/conf kmod.mk
sys/emulation/linux/i386/linprocfs linprocfs.h
linprocfs_subr.c
linprocfs_vfsops.c
linprocfs_vnops.c
sys/kern vfs_default.c vfs_init.c vfs_subr.c
vfs_syscalls.c vfs_vopops.c
sys/sys mount.h vfsops.h vnode.h
sys/vfs/coda coda_vnops.c coda_vnops.h
sys/vfs/deadfs dead_vnops.c
sys/vfs/fdesc fdesc_vfsops.c fdesc_vnops.c
sys/vfs/fifofs fifo_vnops.c
sys/vfs/gnu/ext2fs ext2_extern.h ext2_vfsops.c ext2_vnops.c
sys/vfs/hpfs hpfs.h hpfs_vfsops.c hpfs_vnops.c
sys/vfs/isofs/cd9660 cd9660_mount.h cd9660_vfsops.c
cd9660_vnops.c iso.h
sys/vfs/mfs mfs_vnops.c
sys/vfs/msdosfs denode.h msdosfs_denode.c
msdosfs_vfsops.c msdosfs_vnops.c
sys/vfs/nfs nfs_node.c nfs_subs.c nfs_vfsops.c
nfs_vnops.c nfsnode.h
sys/vfs/ntfs ntfs.h ntfs_vfsops.c ntfs_vnops.c
sys/vfs/nullfs null.h null_subr.c null_vfsops.c
null_vnops.c
sys/vfs/nwfs nwfs_node.c nwfs_vfsops.c nwfs_vnops.c
sys/vfs/portal portal.h portal_vfsops.c portal_vnops.c
sys/vfs/procfs procfs.h procfs_subr.c procfs_vfsops.c
procfs_vnops.c
sys/vfs/smbfs smbfs_node.c smbfs_vfsops.c smbfs_vnops.c
sys/vfs/specfs spec_vnops.c
sys/vfs/udf udf_vfsops.c udf_vnops.c
sys/vfs/ufs ffs_extern.h ffs_vfsops.c ffs_vnops.c
ufs_extern.h ufs_vnops.c
sys/vfs/umapfs umap.h umap_subr.c umap_vfsops.c
umap_vnops.c
sys/vfs/union union.h union_subr.c union_vfsops.c
union_vnops.c
sys/vm vm_contig.c vm_map.c vnode_pager.c
Added files:
sys/sys vfscache.h
Removed files:
sys/sys vopops.h
Log:
VFS messaging/interfacing work stage 2/99. This stage retools the vnode ops
vector dispatch, making the vop_ops a per-mount structure rather then a
per-filesystem structure. Filesystem mount code, typically in blah_vfsops.c,
must now register various vop_ops pointers in the struct mount to compile
its VOP operations set.
This change will allow us to begin adding per-mount hooks to VFSes to support
things like kernel-level journaling, various forms of cache coherency
management, and so forth.
In addition, the vop_*() calls now require a struct vop_ops pointer as the
first argument instead of a vnode pointer (note: in this commit the VOP_*()
macros currently just pull the vop_ops pointer from the vnode in order to
call the vop_*() procedures). This change is intended to allow us to divorce
ourselves from the requirement that a vnode pointer always be part of a VOP
call. In particular, this will allow namespace based routines such as
remove(), mkdir(), stat(), and so forth to pass namecache pointers rather then
locked vnodes and is a very important precursor to the goal of using the
namecache for namespace locking.
Revision Changes Path
1.16 +10 -10 src/sys/conf/kmod.mk
1.8 +0 -2 src/sys/emulation/linux/i386/linprocfs/linprocfs.h
1.11 +2 -1 src/sys/emulation/linux/i386/linprocfs/linprocfs_subr.c
1.6 +4 -0 src/sys/emulation/linux/i386/linprocfs/linprocfs_vfsops.c
1.16 +1 -5 src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
1.12 +1 -1 src/sys/kern/vfs_default.c
1.6 +50 -32 src/sys/kern/vfs_init.c
1.37 +6 -6 src/sys/kern/vfs_subr.c
1.38 +13 -2 src/sys/kern/vfs_syscalls.c
1.2 +529 -158 src/sys/kern/vfs_vopops.c
1.12 +11 -0 src/sys/sys/mount.h
1.2 +229 -136 src/sys/sys/vfsops.h
1.20 +23 -61 src/sys/sys/vnode.h
1.18 +2 -9 src/sys/vfs/coda/coda_vnops.c
1.7 +0 -2 src/sys/vfs/coda/coda_vnops.h
1.10 +2 -2 src/sys/vfs/deadfs/dead_vnops.c
1.8 +4 -0 src/sys/vfs/fdesc/fdesc_vfsops.c
1.13 +2 -7 src/sys/vfs/fdesc/fdesc_vnops.c
1.16 +1 -1 src/sys/vfs/fifofs/fifo_vnops.c
1.6 +0 -4 src/sys/vfs/gnu/ext2fs/ext2_extern.h
1.18 +11 -2 src/sys/vfs/gnu/ext2fs/ext2_vfsops.c
1.15 +3 -16 src/sys/vfs/gnu/ext2fs/ext2_vnops.c
1.12 +0 -1 src/sys/vfs/hpfs/hpfs.h
1.19 +4 -1 src/sys/vfs/hpfs/hpfs_vfsops.c
1.16 +0 -8 src/sys/vfs/hpfs/hpfs_vnops.c
1.3 +2 -1 src/sys/vfs/isofs/cd9660/cd9660_mount.h
1.19 +13 -4 src/sys/vfs/isofs/cd9660/cd9660_vfsops.c
1.11 +3 -15 src/sys/vfs/isofs/cd9660/cd9660_vnops.c
1.5 +0 -4 src/sys/vfs/isofs/cd9660/iso.h
1.15 +4 -3 src/sys/vfs/mfs/mfs_vnops.c
1.7 +0 -2 src/sys/vfs/msdosfs/denode.h
1.14 +1 -1 src/sys/vfs/msdosfs/msdosfs_denode.c
1.18 +4 -0 src/sys/vfs/msdosfs/msdosfs_vfsops.c
1.17 +1 -6 src/sys/vfs/msdosfs/msdosfs_vnops.c
1.12 +1 -1 src/sys/vfs/nfs/nfs_node.c
1.20 +5 -4 src/sys/vfs/nfs/nfs_subs.c
1.20 +10 -0 src/sys/vfs/nfs/nfs_vfsops.c
1.27 +9 -21 src/sys/vfs/nfs/nfs_vnops.c
1.11 +0 -4 src/sys/vfs/nfs/nfsnode.h
1.6 +0 -1 src/sys/vfs/ntfs/ntfs.h
1.19 +6 -1 src/sys/vfs/ntfs/ntfs_vfsops.c
1.14 +0 -63 src/sys/vfs/ntfs/ntfs_vnops.c
1.5 +0 -1 src/sys/vfs/nullfs/null.h
1.12 +1 -12 src/sys/vfs/nullfs/null_subr.c
1.11 +5 -1 src/sys/vfs/nullfs/null_vfsops.c
1.13 +9 -11 src/sys/vfs/nullfs/null_vnops.c
1.13 +1 -3 src/sys/vfs/nwfs/nwfs_node.c
1.11 +5 -0 src/sys/vfs/nwfs/nwfs_vfsops.c
1.14 +1 -6 src/sys/vfs/nwfs/nwfs_vnops.c
1.4 +0 -1 src/sys/vfs/portal/portal.h
1.10 +6 -1 src/sys/vfs/portal/portal_vfsops.c
1.15 +2 -6 src/sys/vfs/portal/portal_vnops.c
1.7 +1 -2 src/sys/vfs/procfs/procfs.h
1.9 +1 -1 src/sys/vfs/procfs/procfs_subr.c
1.7 +4 -1 src/sys/vfs/procfs/procfs_vfsops.c
1.18 +1 -5 src/sys/vfs/procfs/procfs_vnops.c
1.12 +1 -3 src/sys/vfs/smbfs/smbfs_node.c
1.13 +5 -0 src/sys/vfs/smbfs/smbfs_vfsops.c
1.15 +1 -7 src/sys/vfs/smbfs/smbfs_vnops.c
1.20 +2 -3 src/sys/vfs/specfs/spec_vnops.c
1.7 +5 -1 src/sys/vfs/udf/udf_vfsops.c
1.6 +2 -6 src/sys/vfs/udf/udf_vnops.c
1.8 +0 -4 src/sys/vfs/ufs/ffs_extern.h
1.21 +11 -2 src/sys/vfs/ufs/ffs_vfsops.c
1.10 +3 -16 src/sys/vfs/ufs/ffs_vnops.c
1.8 +1 -2 src/sys/vfs/ufs/ufs_extern.h
1.17 +42 -14 src/sys/vfs/ufs/ufs_vnops.c
1.6 +0 -1 src/sys/vfs/umapfs/umap.h
1.10 +1 -12 src/sys/vfs/umapfs/umap_subr.c
1.11 +3 -0 src/sys/vfs/umapfs/umap_vfsops.c
1.10 +6 -9 src/sys/vfs/umapfs/umap_vnops.c
1.7 +0 -1 src/sys/vfs/union/union.h
1.14 +3 -3 src/sys/vfs/union/union_subr.c
1.14 +6 -2 src/sys/vfs/union/union_vfsops.c
1.14 +29 -22 src/sys/vfs/union/union_vnops.c
1.9 +2 -1 src/sys/vm/vm_contig.c
1.32 +2 -1 src/sys/vm/vm_map.c
1.15 +2 -1 src/sys/vm/vnode_pager.c
http://www.dragonflybsd.org/cvsweb/src/sys/conf/kmod.mk.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_subr.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_vfsops.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_init.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vopops.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mount.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vfsops.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/coda/coda_vnops.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/coda/coda_vnops.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/deadfs/dead_vnops.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vfsops.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vnops.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fifofs/fifo_vnops.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_extern.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_vfsops.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_vnops.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vfsops.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vnops.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_mount.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vfsops.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vnops.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/iso.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/mfs/mfs_vnops.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/denode.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_denode.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vfsops.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_node.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_subs.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vfsops.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vnops.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfsnode.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vfsops.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vnops.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_subr.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_vfsops.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_vnops.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_node.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_vfsops.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_vnops.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vfsops.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_subr.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vfsops.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vnops.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_node.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vfsops.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vnops.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/specfs/spec_vnops.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vfsops.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vnops.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_extern.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_vfsops.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_vnops.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_extern.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/umapfs/umap.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/umapfs/umap_subr.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/umapfs/umap_vfsops.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/umapfs/umap_vnops.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_subr.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_vfsops.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_vnops.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_contig.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vnode_pager.c.diff?r1=1.14&r2=1.15&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]