cvs commit: src/sys/dev/disk/ccd ccd.c src/sys/dev/disk/vn vn.c src/sys/emulation/linux linux_file.c linux_misc.c src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c src/sys/emulation/ndis subr_ndis.c src/sys/kern imgact_elf.c init_main.c kern_acct.c ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Aug 11 17:30:46 PDT 2006
dillon 2006/08/11 17:26:22 PDT
DragonFly src repository
Modified files:
sys/dev/disk/ccd ccd.c
sys/dev/disk/vn vn.c
sys/emulation/linux linux_file.c linux_misc.c
sys/emulation/linux/i386/linprocfs linprocfs_vnops.c
sys/emulation/ndis subr_ndis.c
sys/kern imgact_elf.c init_main.c kern_acct.c
kern_acl.c kern_exec.c kern_ktrace.c
kern_sig.c link_aout.c link_elf.c tty.c
tty_tty.c uipc_syscalls.c uipc_usrreq.c
vfs_cache.c vfs_default.c vfs_lock.c
vfs_lookup.c vfs_nlookup.c vfs_subr.c
vfs_sync.c vfs_syscalls.c vfs_vnops.c
vfs_vopops.c
sys/sys vfsops.h vnode.h
sys/vfs/coda coda_vnops.c
sys/vfs/fdesc fdesc_vnops.c
sys/vfs/fifofs fifo_vnops.c
sys/vfs/gnu/ext2fs ext2_lookup.c ext2_quota.c ext2_vfsops.c
ext2_vnops.c fs.h
sys/vfs/hpfs hpfs.h hpfs_vnops.c
sys/vfs/isofs/cd9660 cd9660_lookup.c cd9660_vfsops.c
cd9660_vnops.c
sys/vfs/mfs mfs_vnops.c
sys/vfs/msdosfs msdosfs_lookup.c msdosfs_vfsops.c
msdosfs_vnops.c
sys/vfs/nfs nfs_node.c nfs_serv.c nfs_subs.c
nfs_vfsops.c nfs_vnops.c
sys/vfs/ntfs ntfs.h ntfs_vfsops.c ntfs_vnops.c
sys/vfs/nullfs null_vfsops.c
sys/vfs/nwfs nwfs_vfsops.c nwfs_vnops.c
sys/vfs/portal portal_vnops.c
sys/vfs/procfs procfs_vnops.c
sys/vfs/smbfs 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_balloc.c ffs_rawread.c ffs_softdep.c
ffs_vfsops.c ufs_lookup.c ufs_quota.c
ufs_vnops.c
sys/vfs/union union_subr.c union_vfsops.c union_vnops.c
sys/vm vm_contig.c vm_map.c vm_pageout.c
vm_swap.c
Log:
VNode sequencing and locking - part 3/4.
VNode aliasing is handled by the namecache (aka nullfs), so there is no
longer a need to have VOP_LOCK, VOP_UNLOCK, or VOP_ISSLOCKED as 'VOP'
functions. Both NFS and DEADFS have been using standard locking functions
for some time and are no longer special cases. Replace all uses with
native calls to vn_lock, vn_unlock, and vn_islocked.
We can't have these as VOP functions anyhow because of the introduction of
the new SYSLINK transport layer, since vnode locks are primarily used to
protect the local vnode structure itself.
Revision Changes Path
1.34 +1 -1 src/sys/dev/disk/ccd/ccd.c
1.26 +3 -3 src/sys/dev/disk/vn/vn.c
1.34 +1 -1 src/sys/emulation/linux/linux_file.c
1.29 +2 -2 src/sys/emulation/linux/linux_misc.c
1.33 +1 -1 src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
1.14 +1 -1 src/sys/emulation/ndis/subr_ndis.c
1.40 +3 -3 src/sys/kern/imgact_elf.c
1.59 +1 -1 src/sys/kern/init_main.c
1.26 +1 -1 src/sys/kern/kern_acct.c
1.15 +2 -2 src/sys/kern/kern_acl.c
1.41 +2 -2 src/sys/kern/kern_exec.c
1.28 +2 -2 src/sys/kern/kern_ktrace.c
1.51 +2 -2 src/sys/kern/kern_sig.c
1.18 +1 -1 src/sys/kern/link_aout.c
1.20 +1 -1 src/sys/kern/link_elf.c
1.26 +1 -1 src/sys/kern/tty.c
1.17 +4 -4 src/sys/kern/tty_tty.c
1.73 +1 -1 src/sys/kern/uipc_syscalls.c
1.27 +1 -1 src/sys/kern/uipc_usrreq.c
1.74 +3 -3 src/sys/kern/vfs_cache.c
1.43 +13 -61 src/sys/kern/vfs_default.c
1.22 +2 -2 src/sys/kern/vfs_lock.c
1.23 +1 -1 src/sys/kern/vfs_lookup.c
1.18 +1 -1 src/sys/kern/vfs_nlookup.c
1.94 +3 -25 src/sys/kern/vfs_subr.c
1.13 +0 -3 src/sys/kern/vfs_sync.c
1.100 +11 -11 src/sys/kern/vfs_syscalls.c
1.44 +23 -9 src/sys/kern/vfs_vnops.c
1.32 +0 -75 src/sys/kern/vfs_vopops.c
1.26 +3 -39 src/sys/sys/vfsops.h
1.65 +2 -27 src/sys/sys/vnode.h
1.43 +6 -11 src/sys/vfs/coda/coda_vnops.c
1.33 +1 -1 src/sys/vfs/fdesc/fdesc_vnops.c
1.33 +4 -4 src/sys/vfs/fifofs/fifo_vnops.c
1.24 +5 -5 src/sys/vfs/gnu/ext2fs/ext2_lookup.c
1.6 +4 -4 src/sys/vfs/gnu/ext2fs/ext2_quota.c
1.47 +7 -7 src/sys/vfs/gnu/ext2fs/ext2_vfsops.c
1.36 +7 -16 src/sys/vfs/gnu/ext2fs/ext2_vnops.c
1.11 +2 -2 src/sys/vfs/gnu/ext2fs/fs.h
1.21 +2 -16 src/sys/vfs/hpfs/hpfs.h
1.37 +1 -53 src/sys/vfs/hpfs/hpfs_vnops.c
1.23 +2 -2 src/sys/vfs/isofs/cd9660/cd9660_lookup.c
1.39 +3 -3 src/sys/vfs/isofs/cd9660/cd9660_vfsops.c
1.30 +0 -9 src/sys/vfs/isofs/cd9660/cd9660_vnops.c
1.32 +0 -3 src/sys/vfs/mfs/mfs_vnops.c
1.20 +5 -5 src/sys/vfs/msdosfs/msdosfs_lookup.c
1.37 +6 -6 src/sys/vfs/msdosfs/msdosfs_vfsops.c
1.40 +4 -7 src/sys/vfs/msdosfs/msdosfs_vnops.c
1.25 +0 -90 src/sys/vfs/nfs/nfs_node.c
1.37 +5 -5 src/sys/vfs/nfs/nfs_serv.c
1.41 +2 -2 src/sys/vfs/nfs/nfs_subs.c
1.45 +2 -2 src/sys/vfs/nfs/nfs_vfsops.c
1.64 +4 -13 src/sys/vfs/nfs/nfs_vnops.c
1.14 +1 -22 src/sys/vfs/ntfs/ntfs.h
1.39 +0 -7 src/sys/vfs/ntfs/ntfs_vfsops.c
1.36 +0 -3 src/sys/vfs/ntfs/ntfs_vnops.c
1.24 +1 -1 src/sys/vfs/nullfs/null_vfsops.c
1.25 +2 -2 src/sys/vfs/nwfs/nwfs_vfsops.c
1.32 +5 -8 src/sys/vfs/nwfs/nwfs_vnops.c
1.31 +0 -2 src/sys/vfs/portal/portal_vnops.c
1.35 +1 -1 src/sys/vfs/procfs/procfs_vnops.c
1.30 +2 -2 src/sys/vfs/smbfs/smbfs_vfsops.c
1.34 +5 -8 src/sys/vfs/smbfs/smbfs_vnops.c
1.48 +5 -5 src/sys/vfs/specfs/spec_vnops.c
1.21 +2 -2 src/sys/vfs/udf/udf_vfsops.c
1.24 +1 -1 src/sys/vfs/udf/udf_vnops.c
1.18 +1 -2 src/sys/vfs/ufs/ffs_balloc.c
1.26 +16 -23 src/sys/vfs/ufs/ffs_rawread.c
1.48 +4 -4 src/sys/vfs/ufs/ffs_softdep.c
1.47 +9 -9 src/sys/vfs/ufs/ffs_vfsops.c
1.27 +8 -8 src/sys/vfs/ufs/ufs_lookup.c
1.23 +4 -4 src/sys/vfs/ufs/ufs_quota.c
1.54 +6 -15 src/sys/vfs/ufs/ufs_vnops.c
1.26 +7 -7 src/sys/vfs/union/union_subr.c
1.25 +4 -4 src/sys/vfs/union/union_vfsops.c
1.33 +16 -94 src/sys/vfs/union/union_vnops.c
1.17 +1 -1 src/sys/vm/vm_contig.c
1.46 +1 -1 src/sys/vm/vm_map.c
1.24 +3 -4 src/sys/vm/vm_pageout.c
1.28 +1 -2 src/sys/vm/vm_swap.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ccd/ccd.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/vn/vn.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_file.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_misc.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/ndis/subr_ndis.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.58&r2=1.59&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_acct.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_acl.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_ktrace.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sig.c.diff?r1=1.50&r2=1.51&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/link_aout.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/link_elf.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty_tty.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.72&r2=1.73&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.73&r2=1.74&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lookup.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_nlookup.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.93&r2=1.94&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_sync.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.99&r2=1.100&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vnops.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vopops.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vfsops.h.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.64&r2=1.65&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/coda/coda_vnops.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fifofs/fifo_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_lookup.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_quota.c.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.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_vnops.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/fs.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs.h.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vnops.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_lookup.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vfsops.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vnops.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/mfs/mfs_vnops.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_lookup.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vfsops.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_node.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_serv.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_subs.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vfsops.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vnops.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs.h.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vfsops.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vnops.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nullfs/null_vfsops.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_vfsops.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_vnops.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vnops.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vfsops.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vnops.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/specfs/spec_vnops.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vfsops.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vnops.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_balloc.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_rawread.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_softdep.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_vfsops.c.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_lookup.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_quota.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_subr.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_vfsops.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_contig.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.c.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_swap.c.diff?r1=1.27&r2=1.28&f=u
More information about the Commits
mailing list