Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [thorpej-devvp] syssrc/sys
Module Name: syssrc
Committed By: fvdl
Date: Tue Sep 18 19:14:04 UTC 2001
Modified Files:
syssrc/sys [thorpej-devvp]: README.DEVVP
syssrc/sys/adosfs [thorpej-devvp]: advfsops.c
syssrc/sys/arch/dreamcast/dreamcast [thorpej-devvp]: autoconf.c
syssrc/sys/arch/evbsh3/evbsh3 [thorpej-devvp]: autoconf.c
syssrc/sys/arch/i386/i386 [thorpej-devvp]: apm.c autoconf.c machdep.c
syssrc/sys/arch/mmeye/mmeye [thorpej-devvp]: autoconf.c
syssrc/sys/arch/x86_64/x86_64 [thorpej-devvp]: autoconf.c
syssrc/sys/coda [thorpej-devvp]: coda_vnops.c
syssrc/sys/compat/common [thorpej-devvp]: vfs_syscalls_43.c
syssrc/sys/dev [thorpej-devvp]: cons.c sequencer.c
syssrc/sys/dev/ata [thorpej-devvp]: wd.c
syssrc/sys/dev/ic [thorpej-devvp]: com.c
syssrc/sys/dev/raidframe [thorpej-devvp]: rf_netbsdkintf.c
syssrc/sys/dev/sysmon [thorpej-devvp]: sysmon.c sysmon_envsys.c
sysmon_wdog.c sysmonvar.h
syssrc/sys/dev/wscons [thorpej-devvp]: wsmux.c
syssrc/sys/filecorefs [thorpej-devvp]: filecore_vfsops.c
syssrc/sys/isofs/cd9660 [thorpej-devvp]: cd9660_vfsops.c
syssrc/sys/kern [thorpej-devvp]: kern_exec.c tty.c tty_tty.c vfs_subr.c
vfs_syscalls.c vfs_vnops.c vnode_if.c vnode_if.src
syssrc/sys/miscfs/fdesc [thorpej-devvp]: fdesc_vnops.c
syssrc/sys/miscfs/fifofs [thorpej-devvp]: fifo_vnops.c
syssrc/sys/miscfs/portal [thorpej-devvp]: portal_vnops.c
syssrc/sys/miscfs/procfs [thorpej-devvp]: procfs_vnops.c
syssrc/sys/miscfs/specfs [thorpej-devvp]: spec_vnops.c specdev.h
syssrc/sys/miscfs/union [thorpej-devvp]: union_subr.c union_vnops.c
syssrc/sys/msdosfs [thorpej-devvp]: msdosfs_vfsops.c msdosfs_vnops.c
syssrc/sys/nfs [thorpej-devvp]: nfs_vnops.c
syssrc/sys/ntfs [thorpej-devvp]: ntfs_vfsops.c ntfs_vnops.c
syssrc/sys/smbfs [thorpej-devvp]: smbfs_io.c smbfs_vnops.c
syssrc/sys/sys [thorpej-devvp]: conf.h tty.h vnode.h vnode_if.h
syssrc/sys/ufs/ext2fs [thorpej-devvp]: ext2fs_vfsops.c ext2fs_vnops.c
syssrc/sys/ufs/ffs [thorpej-devvp]: ffs_vfsops.c
syssrc/sys/ufs/lfs [thorpej-devvp]: lfs_vfsops.c
syssrc/sys/ufs/mfs [thorpej-devvp]: mfs_vnops.c
syssrc/sys/ufs/ufs [thorpej-devvp]: ufs_vnops.c
syssrc/sys/uvm [thorpej-devvp]: uvm_swap.c
Log Message:
Various changes to make cloning devices possible:
* Add an extra argument (struct vnode **) to VOP_OPEN. If it is
not NULL, specfs will create a cloned (aliased) vnode during
the call, and return it there. The caller should release and
unlock the original vnode if a new vnode was returned. The
new vnode is returned locked.
* Add a flag field to the cdevsw and bdevsw structures.
DF_CLONING indicates that it wants a new vnode for each
open (XXX is there a better way? devprop?)
* If a device is cloning, always call the close entry
point for a VOP_CLOSE.
Also, rewrite cons.c to do the right thing with vnodes. Use VOPs
rather then direct device entry calls. Suggested by mycroft@
Light to moderate testing done an i386 system (arch doesn't matter
though, these are MI changes).
To generate a diff of this commit:
cvs rdiff -r1.1.2.1 -r1.1.2.2 syssrc/sys/README.DEVVP
cvs rdiff -r1.46 -r1.46.4.1 syssrc/sys/adosfs/advfsops.c
cvs rdiff -r1.1 -r1.1.4.1 syssrc/sys/arch/dreamcast/dreamcast/autoconf.c
cvs rdiff -r1.1 -r1.1.4.1 syssrc/sys/arch/evbsh3/evbsh3/autoconf.c
cvs rdiff -r1.63 -r1.63.2.1 syssrc/sys/arch/i386/i386/apm.c
cvs rdiff -r1.56 -r1.56.4.1 syssrc/sys/arch/i386/i386/autoconf.c
cvs rdiff -r1.453 -r1.453.2.1 syssrc/sys/arch/i386/i386/machdep.c
cvs rdiff -r1.1 -r1.1.4.1 syssrc/sys/arch/mmeye/mmeye/autoconf.c
cvs rdiff -r1.1 -r1.1.4.1 syssrc/sys/arch/x86_64/x86_64/autoconf.c
cvs rdiff -r1.26 -r1.26.2.1 syssrc/sys/coda/coda_vnops.c
cvs rdiff -r1.19 -r1.19.4.1 syssrc/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -r1.40.4.1 -r1.40.4.2 syssrc/sys/dev/cons.c
cvs rdiff -r1.16.2.1 -r1.16.2.2 syssrc/sys/dev/sequencer.c
cvs rdiff -r1.214.4.1 -r1.214.4.2 syssrc/sys/dev/ata/wd.c
cvs rdiff -r1.188.2.1 -r1.188.2.2 syssrc/sys/dev/ic/com.c
cvs rdiff -r1.109.2.1 -r1.109.2.2 syssrc/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.4 -r1.4.8.1 syssrc/sys/dev/sysmon/sysmon.c
cvs rdiff -r1.1 -r1.1.8.1 syssrc/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.2 -r1.2.6.1 syssrc/sys/dev/sysmon/sysmon_wdog.c
cvs rdiff -r1.3 -r1.3.8.1 syssrc/sys/dev/sysmon/sysmonvar.h
cvs rdiff -r1.9.8.1 -r1.9.8.2 syssrc/sys/dev/wscons/wsmux.c
cvs rdiff -r1.14 -r1.14.4.1 syssrc/sys/filecorefs/filecore_vfsops.c
cvs rdiff -r1.56 -r1.56.4.1 syssrc/sys/isofs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.144 -r1.144.2.1 syssrc/sys/kern/kern_exec.c
cvs rdiff -r1.128.4.1 -r1.128.4.2 syssrc/sys/kern/tty.c
cvs rdiff -r1.16.10.1 -r1.16.10.2 syssrc/sys/kern/tty_tty.c
cvs rdiff -r1.156.2.1 -r1.156.2.2 syssrc/sys/kern/vfs_subr.c
cvs rdiff -r1.168 -r1.168.2.1 syssrc/sys/kern/vfs_syscalls.c
cvs rdiff -r1.48 -r1.48.4.1 syssrc/sys/kern/vfs_vnops.c
cvs rdiff -r1.37 -r1.37.2.1 syssrc/sys/kern/vnode_if.c
cvs rdiff -r1.29 -r1.29.2.1 syssrc/sys/kern/vnode_if.src
cvs rdiff -r1.64.4.1 -r1.64.4.2 syssrc/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -r1.30 -r1.30.6.1 syssrc/sys/miscfs/fifofs/fifo_vnops.c
cvs rdiff -r1.38 -r1.38.4.1 syssrc/sys/miscfs/portal/portal_vnops.c
cvs rdiff -r1.83 -r1.83.2.1 syssrc/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -r1.56.2.1 -r1.56.2.2 syssrc/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.20.2.1 -r1.20.2.2 syssrc/sys/miscfs/specfs/specdev.h
cvs rdiff -r1.40 -r1.40.6.1 syssrc/sys/miscfs/union/union_subr.c
cvs rdiff -r1.54 -r1.54.2.1 syssrc/sys/miscfs/union/union_vnops.c
cvs rdiff -r1.74 -r1.74.4.1 syssrc/sys/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.111.2.1 -r1.111.2.2 syssrc/sys/msdosfs/msdosfs_vnops.c
cvs rdiff -r1.137 -r1.137.2.1 syssrc/sys/nfs/nfs_vnops.c
cvs rdiff -r1.36 -r1.36.4.1 syssrc/sys/ntfs/ntfs_vfsops.c
cvs rdiff -r1.36 -r1.36.2.1 syssrc/sys/ntfs/ntfs_vnops.c
cvs rdiff -r1.2 -r1.2.4.1 syssrc/sys/smbfs/smbfs_io.c
cvs rdiff -r1.1 -r1.1.8.1 syssrc/sys/smbfs/smbfs_vnops.c
cvs rdiff -r1.88.4.1 -r1.88.4.2 syssrc/sys/sys/conf.h
cvs rdiff -r1.52.4.1 -r1.52.4.2 syssrc/sys/sys/tty.h
cvs rdiff -r1.91 -r1.91.4.1 syssrc/sys/sys/vnode.h
cvs rdiff -r1.36 -r1.36.4.1 syssrc/sys/sys/vnode_if.h
cvs rdiff -r1.43 -r1.43.6.1 syssrc/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.36 -r1.36.2.1 syssrc/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -r1.85 -r1.85.2.1 syssrc/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.66 -r1.66.2.1 syssrc/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.27.8.1 -r1.27.8.2 syssrc/sys/ufs/mfs/mfs_vnops.c
cvs rdiff -r1.80.2.1 -r1.80.2.2 syssrc/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -r1.53.2.1 -r1.53.2.2 syssrc/sys/uvm/uvm_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index