Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   ad
Date:           Thu Jan 24 17:32:58 UTC 2008

Modified Files:
        src/sys/dev: cons.c
        src/sys/fs/adosfs: advfsops.c
        src/sys/fs/cd9660: cd9660_vfsops.c
        src/sys/fs/filecorefs: filecore_vfsops.c
        src/sys/fs/hfs: hfs_subr.c hfs_vfsops.c
        src/sys/fs/msdosfs: msdosfs_vfsops.c
        src/sys/fs/ntfs: ntfs_vfsops.c
        src/sys/fs/ptyfs: ptyfs_subr.c
        src/sys/fs/puffs: puffs_node.c
        src/sys/fs/sysvbfs: sysvbfs_vfsops.c
        src/sys/fs/tmpfs: tmpfs_subr.c
        src/sys/fs/udf: udf_vfsops.c
        src/sys/kern: tty_ptm.c vfs_subr.c vfs_subr2.c vfs_syscalls.c
        src/sys/miscfs/genfs: layer_subr.c
        src/sys/miscfs/specfs: spec_vnops.c specdev.h
        src/sys/nfs: nfs_subs.c
        src/sys/rump/librump/rumpkern: rump.c vfs.c
        src/sys/sys: vnode.h
        src/sys/ufs/ext2fs: ext2fs_vfsops.c ext2fs_vnops.c
        src/sys/ufs/ffs: ffs_vfsops.c
        src/sys/ufs/lfs: lfs_vfsops.c
        src/sys/ufs/mfs: mfs_vfsops.c
        src/sys/ufs/ufs: ufs_vnops.c
        src/usr.bin/fstat: ptyfs.c
        src/usr.bin/systat: bufcache.c
        src/usr.sbin/pstat: pstat.c

Log Message:
specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
  vnode can describe a block device. Instead, prohibit concurrent opens of
  block devices. As a bonus remove the unreliable code that prevents
  multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
  goes away, instead of abusing vnode::v_usecount to tell if the device is
  open.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 src/sys/dev/cons.c
cvs rdiff -r1.46 -r1.47 src/sys/fs/adosfs/advfsops.c
cvs rdiff -r1.53 -r1.54 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.45 -r1.46 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -r1.7 -r1.8 src/sys/fs/hfs/hfs_subr.c
cvs rdiff -r1.13 -r1.14 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -r1.58 -r1.59 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.60 -r1.61 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.12 -r1.13 src/sys/fs/ptyfs/ptyfs_subr.c
cvs rdiff -r1.9 -r1.10 src/sys/fs/puffs/puffs_node.c
cvs rdiff -r1.21 -r1.22 src/sys/fs/sysvbfs/sysvbfs_vfsops.c
cvs rdiff -r1.43 -r1.44 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -r1.33 -r1.34 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -r1.22 -r1.23 src/sys/kern/tty_ptm.c
cvs rdiff -r1.317 -r1.318 src/sys/kern/vfs_subr.c
cvs rdiff -r1.12 -r1.13 src/sys/kern/vfs_subr2.c
cvs rdiff -r1.341 -r1.342 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.24 -r1.25 src/sys/miscfs/genfs/layer_subr.c
cvs rdiff -r1.111 -r1.112 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.33 -r1.34 src/sys/miscfs/specfs/specdev.h
cvs rdiff -r1.196 -r1.197 src/sys/nfs/nfs_subs.c
cvs rdiff -r1.29 -r1.30 src/sys/rump/librump/rumpkern/rump.c \
    src/sys/rump/librump/rumpkern/vfs.c
cvs rdiff -r1.185 -r1.186 src/sys/sys/vnode.h
cvs rdiff -r1.127 -r1.128 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.79 -r1.80 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -r1.218 -r1.219 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.252 -r1.253 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.85 -r1.86 src/sys/ufs/mfs/mfs_vfsops.c
cvs rdiff -r1.162 -r1.163 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/fstat/ptyfs.c
cvs rdiff -r1.20 -r1.21 src/usr.bin/systat/bufcache.c
cvs rdiff -r1.105 -r1.106 src/usr.sbin/pstat/pstat.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