CVS commit: src

2014-02-07 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb  7 15:29:23 UTC 2014

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_replay.c
zfs_vnops.c
src/lib/libp2k: p2k.c
src/share/man/man9: namecache.9 vnodeops.9
src/sys/coda: coda_vnops.c
src/sys/fs/adosfs: adlookup.c
src/sys/fs/cd9660: cd9660_lookup.c
src/sys/fs/efs: efs_vnops.c
src/sys/fs/filecorefs: filecore_lookup.c
src/sys/fs/hfs: hfs_vnops.c
src/sys/fs/msdosfs: msdosfs_lookup.c
src/sys/fs/nilfs: nilfs_vnops.c
src/sys/fs/ntfs: ntfs_vnops.c
src/sys/fs/ptyfs: ptyfs_vnops.c
src/sys/fs/puffs: puffs_vnops.c
src/sys/fs/smbfs: smbfs_vnops.c
src/sys/fs/sysvbfs: sysvbfs_vnops.c
src/sys/fs/tmpfs: tmpfs_vnops.c
src/sys/fs/udf: udf_vnops.c
src/sys/fs/union: union_subr.c union_vnops.c
src/sys/fs/v7fs: v7fs_vnops.c
src/sys/kern: vfs_cache.c vfs_getcwd.c vfs_lookup.c vnode_if.c
src/sys/miscfs/deadfs: dead_vnops.c
src/sys/miscfs/fdesc: fdesc_vnops.c
src/sys/miscfs/fifofs: fifo_vnops.c
src/sys/miscfs/genfs: layer_vnops.c
src/sys/miscfs/kernfs: kernfs_vnops.c
src/sys/miscfs/procfs: procfs_subr.c procfs_vfsops.c procfs_vnops.c
src/sys/miscfs/specfs: spec_vnops.c
src/sys/miscfs/umapfs: umap_vnops.c
src/sys/nfs: nfs_vnops.c
src/sys/rump/include/rump: rumpvnode_if.h
src/sys/rump/librump/rumpvfs: rumpfs.c rumpvnode_if.c
src/sys/sys: param.h vnode_if.h
src/sys/ufs/chfs: chfs_vnops.c
src/sys/ufs/ext2fs: ext2fs_lookup.c
src/sys/ufs/lfs: ulfs_extattr.c ulfs_lookup.c
src/sys/ufs/ufs: ufs_extattr.c ufs_lookup.c
src/tests/rump/rumpvfs: t_p2kifs.c

Log Message:
Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_replay.c
cvs rdiff -u -r1.16 -r1.17 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
cvs rdiff -u -r1.62 -r1.63 src/lib/libp2k/p2k.c
cvs rdiff -u -r1.17 -r1.18 src/share/man/man9/namecache.9
cvs rdiff -u -r1.91 -r1.92 src/share/man/man9/vnodeops.9
cvs rdiff -u -r1.93 -r1.94 src/sys/coda/coda_vnops.c
cvs rdiff -u -r1.18 -r1.19 src/sys/fs/adosfs/adlookup.c
cvs rdiff -u -r1.25 -r1.26 src/sys/fs/cd9660/cd9660_lookup.c
cvs rdiff -u -r1.30 -r1.31 src/sys/fs/efs/efs_vnops.c
cvs rdiff -u -r1.18 -r1.19 src/sys/fs/filecorefs/filecore_lookup.c
cvs rdiff -u -r1.28 -r1.29 src/sys/fs/hfs/hfs_vnops.c
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/msdosfs/msdosfs_lookup.c
cvs rdiff -u -r1.26 -r1.27 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.55 -r1.56 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -u -r1.42 -r1.43 src/sys/fs/ptyfs/ptyfs_vnops.c
cvs rdiff -u -r1.179 -r1.180 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.88 -r1.89 src/sys/fs/smbfs/smbfs_vnops.c
cvs rdiff -u -r1.52 -r1.53 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -u -r1.114 -r1.115 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.89 -r1.90 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.59 -r1.60 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.51 -r1.52 src/sys/fs/union/union_vnops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.93 -r1.94 src/sys/kern/vfs_cache.c
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/vfs_getcwd.c
cvs rdiff -u -r1.200 -r1.201 src/sys/kern/vfs_lookup.c
cvs rdiff -u -r1.91 -r1.92 src/sys/kern/vnode_if.c
cvs rdiff -u -r1.53 -r1.54 src/sys/miscfs/deadfs/dead_vnops.c
cvs rdiff -u -r1.116 -r1.117 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -u -r1.73 -r1.74 src/sys/miscfs/fifofs/fifo_vnops.c
cvs rdiff -u -r1.53 -r1.54 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -u -r1.149 -r1.150 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -u -r1.103 -r1.104 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.87 -r1.88 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.188 -r1.189 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.141 -r1.142 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.53 -r1.54 src/sys/miscfs/umapfs/umap_vnops.c
cvs rdiff -u -r1.303 -r1.304 src/sys/nfs/nfs_vnops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/rump/include/rump/rumpvnode_if.h
cvs rdiff -u -r1.123 -r1.124 src/sys/rump/librump/rumpvfs/rumpfs.c
cvs rdiff -u -r1.14 -r1.15 src/sys/rump/librump/rumpvfs/rumpvnode_if.c
cvs rdiff -u -r1.439 -r1.440 src/sys/sys/param.h
cvs rdiff -u -r1.86 -r1.87 src/sys/sys/vnode_if.h
cvs rdiff -u -r1.20 -r1.21 src/sys/ufs/chfs/chfs_vnops.c
cvs rdiff -u -r1.73 -r1.74 src/sys/ufs/ext2fs/ext2fs_lookup.c
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/ulfs_extattr.c
cvs rdiff -u -r1.18 -r1.19 src/sys/ufs/lfs/ulfs_lookup.c
cvs rdiff -u -r1.42 -r1.43 src/sys/ufs/ufs/ufs_extattr.c
cvs rdiff -u -r1.128 -r1.129 

CVS commit: src/sys/miscfs/genfs

2014-02-09 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Feb  9 17:15:51 UTC 2014

Modified Files:
src/sys/miscfs/genfs: layer_subr.c

Log Message:
When layer_node_alloc() finds another thread already inserted the node
into the hashlist and discards the now unneeded node it will raise a
panic dead but not clean.

Reorder the initialization and use ungetnewvnode() to discard the node.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/miscfs/genfs/layer_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/umapfs

2014-02-09 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Feb  9 17:18:38 UTC 2014

Modified Files:
src/sys/miscfs/umapfs: umap_vnops.c

Log Message:
Adjust comment and change vput() to vrele().  This change got missed
when changing vnode creation operations to return unlocked result.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/miscfs/umapfs/umap_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs

2014-02-10 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Feb 10 11:23:14 UTC 2014

Modified Files:
src/sys/miscfs/genfs: layer_subr.c layer_vfsops.c
src/sys/miscfs/nullfs: null_vfsops.c
src/sys/miscfs/overlay: overlay_vfsops.c
src/sys/miscfs/umapfs: umap_vfsops.c

Log Message:
Change layerfs_vget(), layerfs_fhtovp() and the various layer xxx_mount()
functions to unlock/relock the node for the call to layer_node_create().

Finally remove dirty hacks (LK_NOWAIT, kpause) from layer_node_find().


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/miscfs/genfs/layer_subr.c
cvs rdiff -u -r1.41 -r1.42 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.84 -r1.85 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -u -r1.57 -r1.58 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -u -r1.88 -r1.89 src/sys/miscfs/umapfs/umap_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2014-02-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 13 09:50:31 UTC 2014

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Fix the DOT and DOTDOT case for union_lookup1().


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2014-02-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 13 09:55:04 UTC 2014

Modified Files:
src/sys/fs/union: union.h union_subr.c union_vnops.c

Log Message:
Get rid of UN_KLOCK to keep a lock on vput().  It is not really needed
and makes the source difficult to read.  Always hold references to the
union nodes until the operation is done.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/fs/union/union.h
cvs rdiff -u -r1.60 -r1.61 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.53 -r1.54 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2014-02-14 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb 14 08:50:27 UTC 2014

Modified Files:
src/sys/fs/union: union.h union_subr.c

Log Message:
Member un_flags is unused now -- remove.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/fs/union/union.h
cvs rdiff -u -r1.61 -r1.62 src/sys/fs/union/union_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2014-02-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Feb 16 09:50:25 UTC 2014

Modified Files:
src/sys/fs/union: union_subr.c union_vfsops.c union_vnops.c

Log Message:
Change union_allocvp() to take an unlocked uppervp and to return the
union node unlocked.  Another VI_XLOCK hack is gone.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/union/union_vfsops.c
cvs rdiff -u -r1.55 -r1.56 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2014-02-22 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Feb 22 10:05:54 UTC 2014

Modified Files:
src/share/man/man9: vfssubr.9

Log Message:
Update the description of vfs_busy() and vfs_unbusy().


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man9/vfssubr.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2014-02-22 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Feb 22 10:08:12 UTC 2014

Modified Files:
src/share/man/man9: vnode.9

Log Message:
Update arguments of vrecycle(), description of getnewvnode() and
the vnode flags.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/share/man/man9/vnode.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-02-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 27 13:00:06 UTC 2014

Modified Files:
src/sys/conf: files
src/sys/kern: vfs_mount.c vfs_subr.c vfs_vnode.c
src/sys/miscfs/deadfs: dead_vnops.c
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs
src/sys/sys: mount.h
Added Files:
src/sys/miscfs/deadfs: dead_vfsops.c

Log Message:
Currently dead vnodes still reside on the vnodelist of the file system
they have been removed from.

Create a dead mount that takes dead vnodes until they get freed.

Discussed on tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.1083 -r1.1084 src/sys/conf/files
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.441 -r1.442 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.30 -r1.31 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r0 -r1.1 src/sys/miscfs/deadfs/dead_vfsops.c
cvs rdiff -u -r1.54 -r1.55 src/sys/miscfs/deadfs/dead_vnops.c
cvs rdiff -u -r1.39 -r1.40 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs
cvs rdiff -u -r1.210 -r1.211 src/sys/sys/mount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2014-02-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 27 16:51:39 UTC 2014

Modified Files:
src/share/man/man9: vnodeops.9 vnsubr.9
src/sys/coda: coda_vnops.c
src/sys/fs/adosfs: adutil.c
src/sys/fs/cd9660: cd9660_node.c
src/sys/fs/efs: efs_ihash.c
src/sys/fs/filecorefs: filecore_node.c
src/sys/fs/hfs: hfs_nhash.c
src/sys/fs/ptyfs: ptyfs_subr.c
src/sys/fs/tmpfs: tmpfs_vnops.c
src/sys/fs/union: union_vnops.c
src/sys/kern: vfs_vnode.c vfs_vnops.c
src/sys/miscfs/deadfs: dead_vnops.c
src/sys/miscfs/fdesc: fdesc_vnops.c
src/sys/miscfs/genfs: genfs.h genfs_vnops.c layer_extern.h
layer_vnops.c
src/sys/miscfs/kernfs: kernfs_subr.c
src/sys/miscfs/nullfs: null_vnops.c
src/sys/miscfs/overlay: overlay_vnops.c
src/sys/miscfs/umapfs: umap_vnops.c
src/sys/nfs: nfs_node.c
src/sys/sys: param.h
src/sys/ufs/chfs: chfs_ihash.c
src/sys/ufs/lfs: ulfs_ihash.c
src/sys/ufs/ufs: ufs_ihash.c

Log Message:
The current implementation of vn_lock() is racy.  Modification of
the vnode operations vector for active vnodes is unsafe because it
is not known whether deadfs or the original file system will be
called.

- Pass down LK_RETRY to the lock operation (hint for deadfs only).

- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.

- Change all other lock operations to check for dead vnode once
  the vnode is locked and unlock and return ENOENT in this case.

With these changes in place vnode lock operations will never succeed
after vclean() has marked the vnode as VI_XLOCK and before vclean()
has changed the operations vector.

Adresses PR kern/37706 (Forced unmount of file systems is unsafe)

Discussed on tech-kern.

Welcome to 6.99.33


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/share/man/man9/vnodeops.9
cvs rdiff -u -r1.41 -r1.42 src/share/man/man9/vnsubr.9
cvs rdiff -u -r1.94 -r1.95 src/sys/coda/coda_vnops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/adosfs/adutil.c
cvs rdiff -u -r1.29 -r1.30 src/sys/fs/cd9660/cd9660_node.c
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/efs/efs_ihash.c
cvs rdiff -u -r1.25 -r1.26 src/sys/fs/filecorefs/filecore_node.c
cvs rdiff -u -r1.12 -r1.13 src/sys/fs/hfs/hfs_nhash.c
cvs rdiff -u -r1.25 -r1.26 src/sys/fs/ptyfs/ptyfs_subr.c
cvs rdiff -u -r1.117 -r1.118 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.56 -r1.57 src/sys/fs/union/union_vnops.c
cvs rdiff -u -r1.31 -r1.32 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.188 -r1.189 src/sys/kern/vfs_vnops.c
cvs rdiff -u -r1.55 -r1.56 src/sys/miscfs/deadfs/dead_vnops.c
cvs rdiff -u -r1.117 -r1.118 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -u -r1.31 -r1.32 src/sys/miscfs/genfs/genfs.h
cvs rdiff -u -r1.189 -r1.190 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.34 -r1.35 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -u -r1.54 -r1.55 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -u -r1.25 -r1.26 src/sys/miscfs/kernfs/kernfs_subr.c
cvs rdiff -u -r1.38 -r1.39 src/sys/miscfs/nullfs/null_vnops.c
cvs rdiff -u -r1.19 -r1.20 src/sys/miscfs/overlay/overlay_vnops.c
cvs rdiff -u -r1.55 -r1.56 src/sys/miscfs/umapfs/umap_vnops.c
cvs rdiff -u -r1.116 -r1.117 src/sys/nfs/nfs_node.c
cvs rdiff -u -r1.441 -r1.442 src/sys/sys/param.h
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/chfs/chfs_ihash.c
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/lfs/ulfs_ihash.c
cvs rdiff -u -r1.31 -r1.32 src/sys/ufs/ufs/ufs_ihash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2014-03-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Mar  5 09:37:29 UTC 2014

Modified Files:
src/share/man/man9: vnode.9
src/sys/kern: vfs_mount.c vfs_vnode.c
src/sys/sys: mount.h param.h vnode.h
src/sys/ufs/ext2fs: ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_vfsops.c
src/sys/ufs/lfs: lfs_syscalls.c

Log Message:
Current support for iterating over mnt_vnodelist is rudimentary.  Every
caller has to care about list and vnode mutexes, reference count being zero,
intermediate vnode states like VI_CLEAN, VI_XLOCK, VI_MARKER and so on.

Add an interface to iterate over a vnode list:

void vfs_vnode_iterator_init(struct mount *mp, struct vnode_iterator **marker)
void vfs_vnode_iterator_destroy(struct vnode_iterator *marker)
bool vfs_vnode_iterator_next(struct vnode_iterator *marker, struct vnode **vpp)

vfs_vnode_iterator_next() returns either false / *vpp == NULL when done
or true / *vpp != NULL to return the next referenced vnode from the list.

To make vrecycle() work in this environment change it to

bool vrecycle(struct vnode *vp)

where vp is a referenced vnode to be destroyed if this is the last reference.

Discussed on tech-kern.

Welcome to 6.99.34


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/share/man/man9/vnode.9
cvs rdiff -u -r1.26 -r1.27 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.32 -r1.33 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.211 -r1.212 src/sys/sys/mount.h
cvs rdiff -u -r1.442 -r1.443 src/sys/sys/param.h
cvs rdiff -u -r1.243 -r1.244 src/sys/sys/vnode.h
cvs rdiff -u -r1.176 -r1.177 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.292 -r1.293 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.150 -r1.151 src/sys/ufs/lfs/lfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/genfs

2014-03-12 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Mar 12 09:38:51 UTC 2014

Modified Files:
src/sys/miscfs/genfs: genfs_vnops.c

Log Message:
Restructure genfs_deadlock() and genfs_lock() to always lock before
testing for dead node.  Use ISSET() to test flags, add assertions.

Save the mount for fstrans_done() before genfs_unlock() unlocks the node.


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/miscfs/genfs/genfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/genfs

2014-03-12 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Mar 12 09:39:23 UTC 2014

Modified Files:
src/sys/miscfs/genfs: layer_vnops.c

Log Message:
Restructure layer_lock() to always lock before testing for dead node.
Use ISSET() to test flags, add assertions.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/miscfs/genfs/layer_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2014-03-12 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Mar 12 09:40:05 UTC 2014

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Restructure union_lock() to always lock before testing for dead node.
Add two little helpers to lock or unlock a node.  Use vp for the
union node and lockvp for the node to be locked.  Use ISSET() to
test flags, add assertions.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/fs/union/union_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2014-03-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Mar 13 10:22:35 UTC 2014

Modified Files:
src/sys/dev: md.c

Log Message:
No need to detach (and return EBUSY) if dk_openmask is non-zero.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2014-03-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Mar 13 16:33:52 UTC 2014

Modified Files:
src/sys/dev/pci: if_bnx.c

Log Message:
Add __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/pci/if_bnx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2014-03-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Mar 13 16:34:13 UTC 2014

Modified Files:
src/sys/dev/pci: twa.c

Log Message:
Add __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/twa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:27:37 UTC 2014

Modified Files:
src/sys/kern: vfs_vnode.c

Log Message:
Add fstrans_startnowait()/fstrans_done() to vrele_thread().


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/vfs_vnode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:28:37 UTC 2014

Modified Files:
src/sys/kern: vfs_subr.c

Log Message:
Change sysctl_kern_vnode() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.442 -r1.443 src/sys/kern/vfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:29:55 UTC 2014

Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c

Log Message:
Change ffs_sync() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.293 -r1.294 src/sys/ufs/ffs/ffs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:29:20 UTC 2014

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Change snapshot_expunge() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ext2fs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:30:32 UTC 2014

Modified Files:
src/sys/ufs/ext2fs: ext2fs_vfsops.c

Log Message:
Change ext2fs_sync() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/ufs/ext2fs/ext2fs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ufs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:31:35 UTC 2014

Modified Files:
src/sys/ufs/ufs: ufs_quota1.c

Log Message:
Change quota1_handle_cmd_quotaon() and q1sync() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/ufs/ufs/ufs_quota1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:33:20 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_segment.c

Log Message:
Change vismarker() to VI_MARKER for lfs_writevnodes().
This operation has to be changed to vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.233 -r1.234 src/sys/ufs/lfs/lfs_segment.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/nfs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:34:51 UTC 2014

Modified Files:
src/sys/nfs: nfs_vfsops.c

Log Message:
Change nfs_sync() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.224 -r1.225 src/sys/nfs/nfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:34:16 UTC 2014

Modified Files:
src/sys/ufs/lfs: ulfs_quota1.c

Log Message:
Change lfsquota1_handle_cmd_quotaon() and lfs_q1sync()
to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/ulfs_quota1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/nfs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:35:24 UTC 2014

Modified Files:
src/sys/nfs: nfs_subs.c

Log Message:
Change nfs_clearcommit() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.224 -r1.225 src/sys/nfs/nfs_subs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:35:59 UTC 2014

Modified Files:
src/sys/fs/msdosfs: msdosfs_vfsops.c

Log Message:
Change msdosfs_sync() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/fs/msdosfs/msdosfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:36:35 UTC 2014

Modified Files:
src/sys/fs/puffs: puffs_vfsops.c

Log Message:
Change pageflush() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/fs/puffs/puffs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 17 09:37:41 UTC 2014

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c

Log Message:
Change zfs_sync() to use vfs_vnode_iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2014-03-18 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Mar 18 10:21:48 UTC 2014

Modified Files:
src/distrib/sets/lists/comp: mi
src/share/man/man9: Makefile vfssubr.9
src/sys/kern: vfs_mount.c
src/sys/sys: param.h vnode.h
src/sys/ufs/lfs: lfs_segment.c

Log Message:
Operations vmark(), vunmark() and vismarker() have been replaced by
vfs_vnode_iterator_*(), remove them.

Document vfs_vnode_iterator_*().

Make VI_MARKER private to vfs_vnode.c, vfs_mount.c and unfortunately
to ufs/lfs/lfs_segment.c.

Welcome to 6.99.37


To generate a diff of this commit:
cvs rdiff -u -r1.1881 -r1.1882 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.374 -r1.375 src/share/man/man9/Makefile
cvs rdiff -u -r1.22 -r1.23 src/share/man/man9/vfssubr.9
cvs rdiff -u -r1.27 -r1.28 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.445 -r1.446 src/sys/sys/param.h
cvs rdiff -u -r1.244 -r1.245 src/sys/sys/vnode.h
cvs rdiff -u -r1.234 -r1.235 src/sys/ufs/lfs/lfs_segment.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-03-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Mar 23 15:21:17 UTC 2014

Modified Files:
src/sys/coda: coda_vfsops.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_vfsops.c
src/sys/fs/msdosfs: msdosfs_vfsops.c
src/sys/fs/nilfs: nilfs_vfsops.c
src/sys/fs/ntfs: ntfs_vfsops.c
src/sys/fs/ptyfs: ptyfs_vfsops.c
src/sys/fs/puffs: puffs_vfsops.c
src/sys/fs/smbfs: smbfs_vfsops.c
src/sys/fs/sysvbfs: sysvbfs.c
src/sys/fs/tmpfs: tmpfs_vfsops.c
src/sys/fs/udf: udf_vfsops.c
src/sys/fs/union: union_vfsops.c
src/sys/fs/unionfs: unionfs_vfsops.c
src/sys/fs/v7fs: v7fs_extern.c
src/sys/miscfs/deadfs: dead_vfsops.c
src/sys/miscfs/fdesc: fdesc_vfsops.c
src/sys/miscfs/kernfs: kernfs_vfsops.c
src/sys/miscfs/nullfs: null_vfsops.c
src/sys/miscfs/overlay: overlay_vfsops.c
src/sys/miscfs/procfs: procfs_vfsops.c
src/sys/miscfs/umapfs: umap_vfsops.c
src/sys/nfs: nfs_vfsops.c
src/sys/ufs/chfs: chfs_vfsops.c
src/sys/ufs/ext2fs: ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_vfsops.c
src/sys/ufs/lfs: lfs_vfsops.c
src/sys/ufs/mfs: mfs_vfsops.c

Log Message:
Change all vfsops to use C99 designated initializers.

No functional changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/coda/coda_vfsops.c
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/adosfs/advfsops.c
cvs rdiff -u -r1.81 -r1.82 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -u -r1.74 -r1.75 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -u -r1.29 -r1.30 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -u -r1.105 -r1.106 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/nilfs/nilfs_vfsops.c
cvs rdiff -u -r1.92 -r1.93 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -u -r1.46 -r1.47 src/sys/fs/ptyfs/ptyfs_vfsops.c
cvs rdiff -u -r1.108 -r1.109 src/sys/fs/puffs/puffs_vfsops.c
cvs rdiff -u -r1.98 -r1.99 src/sys/fs/smbfs/smbfs_vfsops.c
cvs rdiff -u -r1.12 -r1.13 src/sys/fs/sysvbfs/sysvbfs.c
cvs rdiff -u -r1.57 -r1.58 src/sys/fs/tmpfs/tmpfs_vfsops.c
cvs rdiff -u -r1.65 -r1.66 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -u -r1.70 -r1.71 src/sys/fs/union/union_vfsops.c
cvs rdiff -u -r1.11 -r1.12 src/sys/fs/unionfs/unionfs_vfsops.c
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/v7fs/v7fs_extern.c
cvs rdiff -u -r1.1 -r1.2 src/sys/miscfs/deadfs/dead_vfsops.c
cvs rdiff -u -r1.87 -r1.88 src/sys/miscfs/fdesc/fdesc_vfsops.c
cvs rdiff -u -r1.92 -r1.93 src/sys/miscfs/kernfs/kernfs_vfsops.c
cvs rdiff -u -r1.86 -r1.87 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -u -r1.59 -r1.60 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -u -r1.89 -r1.90 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.90 -r1.91 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -u -r1.225 -r1.226 src/sys/nfs/nfs_vfsops.c
cvs rdiff -u -r1.9 -r1.10 src/sys/ufs/chfs/chfs_vfsops.c
cvs rdiff -u -r1.178 -r1.179 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.294 -r1.295 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.318 -r1.319 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.105 -r1.106 src/sys/ufs/mfs/mfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2014-03-24 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar 24 13:42:41 UTC 2014

Modified Files:
src/distrib/sets/lists/comp: mi
src/share/man/man9: Makefile vnode.9
src/sys/fs/puffs: puffs_vnops.c
src/sys/fs/union: union_vnops.c
src/sys/kern: vfs_vnode.c
src/sys/miscfs/genfs: genfs_vnops.c layer_vnops.c
src/sys/miscfs/specfs: spec_vnops.c
src/sys/sys: param.h vnode.h
src/sys/ufs/ext2fs: ext2fs_vnops.c
src/sys/ufs/ffs: ffs_vnops.c
src/sys/ufs/lfs: lfs_segment.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
src/usr.sbin/pstat: pstat.8 pstat.c

Log Message:
- Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c.
- Make vwait() static.
- Add  vdead_check() to check a vnode for being or becoming dead.

Discussed on tech-kern.

Welcome to 6.99.38


To generate a diff of this commit:
cvs rdiff -u -r1.1885 -r1.1886 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.376 -r1.377 src/share/man/man9/Makefile
cvs rdiff -u -r1.60 -r1.61 src/share/man/man9/vnode.9
cvs rdiff -u -r1.180 -r1.181 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.58 -r1.59 src/sys/fs/union/union_vnops.c
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.191 -r1.192 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.56 -r1.57 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -u -r1.142 -r1.143 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.446 -r1.447 src/sys/sys/param.h
cvs rdiff -u -r1.245 -r1.246 src/sys/sys/vnode.h
cvs rdiff -u -r1.110 -r1.111 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -u -r1.123 -r1.124 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -u -r1.235 -r1.236 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.151 -r1.152 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.319 -r1.320 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.261 -r1.262 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/pstat/pstat.8
cvs rdiff -u -r1.122 -r1.123 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.



CVS commit: src/sys/dev/isa

2014-04-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Apr  8 13:20:01 UTC 2014

Modified Files:
src/sys/dev/isa: seagate.c

Log Message:
Add __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/isa/seagate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-04-15 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Apr 15 09:50:45 UTC 2014

Modified Files:
src/sys/kern: vfs_trans.c

Log Message:
Fix a deadlock where one thread exits, enters fstrans_lwp_dtor()
and wants fstrans_lock.  This thread holds the proc_lock.
Another thread holds fstrans_lock and runs pserialize_perform().
As the first thread holds the proc_lock, timeouts are blocked and
the second thread blocks forever in kpause().

Change fstrans_lwp_dtor() to invalidate, but not free its info
structs.  No need to take fstrans_lock.

Change fstrans_get_lwp_info() to reuse invalidated info before
trying to allocate a new one.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/kern/vfs_trans.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/ixgbe

2014-04-15 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Apr 15 12:37:59 UTC 2014

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe.c

Log Message:
Add __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/ixgbe/ixgbe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2014-05-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu May  8 08:21:53 UTC 2014

Modified Files:
src/sys/kern: init_sysctl.c vfs_vnode.c
src/sys/modules/ffs: Makefile
src/sys/rump/fs/lib/libffs: Makefile
src/sys/sys: mount.h param.h vnode.h
src/sys/ufs: files.ufs
src/sys/ufs/ext2fs: ext2fs_lookup.c ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_vfsops.c
src/sys/ufs/mfs: mfs_vfsops.c
src/sys/ufs/ufs: inode.h ufs_extern.h ufs_inode.c ufs_lookup.c
ufs_vfsops.c
src/usr.bin/vmstat: vmstat.c
Removed Files:
src/sys/ufs/ufs: ufs_ihash.c

Log Message:
Add a global vnode cache:

- vcache_get() retrieves a referenced and initialised vnode / fs node pair.
- vcache_remove() removes a vnode / fs node pair from the cache.

On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to
initialise a vnode / fs node pair.  This call is guaranteed exclusive,
no other thread will try to load this vnode / fs node pair.

Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.

Remove now unused ufs/ufs_ihash

Discussed on tech-kern.

Welcome to 6.99.41


To generate a diff of this commit:
cvs rdiff -u -r1.202 -r1.203 src/sys/kern/init_sysctl.c
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.8 -r1.9 src/sys/modules/ffs/Makefile
cvs rdiff -u -r1.14 -r1.15 src/sys/rump/fs/lib/libffs/Makefile
cvs rdiff -u -r1.212 -r1.213 src/sys/sys/mount.h
cvs rdiff -u -r1.450 -r1.451 src/sys/sys/param.h
cvs rdiff -u -r1.246 -r1.247 src/sys/sys/vnode.h
cvs rdiff -u -r1.34 -r1.35 src/sys/ufs/files.ufs
cvs rdiff -u -r1.74 -r1.75 src/sys/ufs/ext2fs/ext2fs_lookup.c
cvs rdiff -u -r1.180 -r1.181 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.297 -r1.298 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.107 -r1.108 src/sys/ufs/mfs/mfs_vfsops.c
cvs rdiff -u -r1.65 -r1.66 src/sys/ufs/ufs/inode.h
cvs rdiff -u -r1.73 -r1.74 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.32 -r0 src/sys/ufs/ufs/ufs_ihash.c
cvs rdiff -u -r1.89 -r1.90 src/sys/ufs/ufs/ufs_inode.c
cvs rdiff -u -r1.129 -r1.130 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -u -r1.52 -r1.53 src/sys/ufs/ufs/ufs_vfsops.c
cvs rdiff -u -r1.191 -r1.192 src/usr.bin/vmstat/vmstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ufs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:45:39 UTC 2014

Modified Files:
src/sys/ufs/ufs: ufs_rename.c

Log Message:
ufs_gro_genealogy: use vcache_get() to lookup DOTDOT.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/ufs/ufs_rename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ufs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:46:16 UTC 2014

Modified Files:
src/sys/ufs/ufs: ufs_vnops.c

Log Message:
ufs_mknod: use vcache_get() to reload the new node.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/sys/ufs/ufs/ufs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ext2fs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:46:58 UTC 2014

Modified Files:
src/sys/ufs/ext2fs: ext2fs_rename.c

Log Message:
ext2fs_gro_genealogy: use vcache_get() to lookup DOTDOT.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/ext2fs/ext2fs_rename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ext2fs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:47:22 UTC 2014

Modified Files:
src/sys/ufs/ext2fs: ext2fs_vnops.c

Log Message:
ext2fs_mknod: use vcache_get() to reload the new node.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/ext2fs/ext2fs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ufs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:48:40 UTC 2014

Modified Files:
src/sys/ufs/ufs: ufs_extern.h ufs_lookup.c

Log Message:
Remove ufs_checkpath() and ufs_readdotdot().  These are relics
from the pre-genfs_rename era.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -u -r1.130 -r1.131 src/sys/ufs/ufs/ufs_lookup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:49:13 UTC 2014

Modified Files:
src/sys/ufs/lfs: ulfs_extern.h ulfs_lookup.c

Log Message:
Remove ulfs_checkpath() and ulfs_readdotdot().  These are relics
from the pre-genfs_rename era.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/lfs/ulfs_extern.h
cvs rdiff -u -r1.19 -r1.20 src/sys/ufs/lfs/ulfs_lookup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:51:26 UTC 2014

Modified Files:
src/sys/miscfs/genfs: layer.h layer_extern.h layer_subr.c
layer_vfsops.c layer_vnops.c
src/sys/miscfs/nullfs: null_vfsops.c
src/sys/miscfs/overlay: overlay_vfsops.c
src/sys/miscfs/umapfs: umap_vfsops.c
src/sys/sys: vnode.h

Log Message:
Change layerfs from hashlist to vcache.
Make VI_LOCKSHARE public again.

Ride 6.99.43


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/miscfs/genfs/layer.h
cvs rdiff -u -r1.35 -r1.36 src/sys/miscfs/genfs/layer_extern.h \
src/sys/miscfs/genfs/layer_subr.c
cvs rdiff -u -r1.43 -r1.44 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -u -r1.57 -r1.58 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -u -r1.88 -r1.89 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -u -r1.61 -r1.62 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -u -r1.92 -r1.93 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -u -r1.247 -r1.248 src/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May 25 13:52:12 UTC 2014

Modified Files:
src/sys/dev: fss.c

Log Message:
Use broadcast after freeing a cache entry.  A waiter may not
use a cache entry after wakeup leading to possible deadlock.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/fss.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/genfs

2014-05-28 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed May 28 10:51:20 UTC 2014

Modified Files:
src/sys/miscfs/genfs: layer.h

Log Message:
Change field layerm_tag to correct type enum vtagtype.

CID 1216449:  Mixing enum types


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/miscfs/genfs/layer.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2014-05-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri May 30 08:40:09 UTC 2014

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Testing v_usecount == 1 for exclusive reference will not always
work -- remove and test only readonly.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2014-05-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri May 30 08:42:35 UTC 2014

Modified Files:
src/sys/fs/msdosfs: msdosfs_denode.c

Log Message:
msdosfs_reclaim(): add missing fstrans and protect change
of v_data with v_interlock as msdosfs_sync() now needs it.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/fs/msdosfs/msdosfs_denode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-05-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri May 30 08:46:00 UTC 2014

Modified Files:
src/sys/kern: vfs_mount.c

Log Message:
vfs_vnode_iterator_next(): if a vnode is reclaiming (VI_XLOCK) skip
the filter.  Vget() will wait until the vnode disappeared.  No more
dangling vnode panics on unmount.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/kern/vfs_mount.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/nfs

2014-05-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri May 30 08:47:45 UTC 2014

Modified Files:
src/sys/nfs: nfs_node.c nfs_var.h nfs_vfsops.c nfsmount.h nfsnode.h

Log Message:
Change NFS from rbtree to vcache.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/nfs/nfs_node.c
cvs rdiff -u -r1.91 -r1.92 src/sys/nfs/nfs_var.h
cvs rdiff -u -r1.228 -r1.229 src/sys/nfs/nfs_vfsops.c
cvs rdiff -u -r1.51 -r1.52 src/sys/nfs/nfsmount.h
cvs rdiff -u -r1.72 -r1.73 src/sys/nfs/nfsnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-06-14 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jun 14 07:39:01 UTC 2014

Modified Files:
src/sys/dev: ccd.c cgd.c dksubr.c
src/sys/dev/dm: dm.h dm_target_linear.c dm_target_snapshot.c
dm_target_stripe.c
src/sys/dev/raidframe: rf_copyback.c rf_disks.c rf_reconstruct.c
src/sys/sys: param.h

Log Message:
Change dk_lookup() to return an anonymous vnode not associated with
any file system.  Change all consumers of dk_lookup() to get the
device from v_rdev instead of VOP_GETATTR() as specfs does not
support VOP_GETATTR().  Devices obtained with dk_lookup() will no
longer disappear on forced unmounts.

Fix for PR kern/48849 (root mirror raid fails on shutdown)

Welcome to 6.99.44


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/sys/dev/ccd.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/cgd.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/dksubr.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/dm/dm.h
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/dm/dm_target_linear.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/dm/dm_target_snapshot.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/dm/dm_target_stripe.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/raidframe/rf_copyback.c
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/raidframe/rf_disks.c
cvs rdiff -u -r1.119 -r1.120 src/sys/dev/raidframe/rf_reconstruct.c
cvs rdiff -u -r1.453 -r1.454 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/cd9660

2014-06-14 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jun 14 07:39:29 UTC 2014

Modified Files:
src/sys/fs/cd9660: cd9660_bmap.c cd9660_lookup.c cd9660_node.c
cd9660_node.h cd9660_vfsops.c cd9660_vnops.c

Log Message:
Remove the hints isodir and relocated from cd9660_vget_internal()
and always reread the directory entry by inumber.  For directories
the directory entry is always its . entry.

Always read directories via the device vnode to prevent buffer cache
inconsistency.  Keep i_devvp as a hint for fstat(1) and friends and
always use im_devvp for reads.  No need to vref()/vrele() i_devvp.

The additional bread is either cached because cd9660_lookup() just
released the buffer or will be used in the near future when the
directory gets traversed during lookup.

No objections on tech-kern@


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/cd9660/cd9660_bmap.c
cvs rdiff -u -r1.27 -r1.28 src/sys/fs/cd9660/cd9660_lookup.c
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/cd9660/cd9660_node.c
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/cd9660/cd9660_node.h
cvs rdiff -u -r1.85 -r1.86 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -u -r1.47 -r1.48 src/sys/fs/cd9660/cd9660_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/cd9660

2014-06-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Jun 16 09:55:49 UTC 2014

Modified Files:
src/sys/fs/cd9660: cd9660_lookup.c cd9660_node.c cd9660_node.h
cd9660_vfsops.c

Log Message:
Change cd9660 from hashlist to vcache.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/fs/cd9660/cd9660_lookup.c
cvs rdiff -u -r1.32 -r1.33 src/sys/fs/cd9660/cd9660_node.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/cd9660/cd9660_node.h
cvs rdiff -u -r1.86 -r1.87 src/sys/fs/cd9660/cd9660_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/union

2014-06-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Jun 17 12:38:12 UTC 2014

Modified Files:
src/sys/fs/union: union_subr.c

Log Message:
Unlock directory vnode after VOP_CREATE.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/fs/union/union_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/cd9660

2014-06-22 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jun 22 09:47:40 UTC 2014

Modified Files:
src/sys/fs/cd9660: cd9660_vfsops.c

Log Message:
CID 1223346: No need to check bp against NULL.  It is always valid here.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/fs/cd9660/cd9660_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2014-06-22 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jun 22 09:48:20 UTC 2014

Modified Files:
src/sys/dev/pci: piixpm.c

Log Message:
Consistently pass a struct piixpm_softc to piixpm_intr.
Prevents a crash on hardware interrupts.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/piixpm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-07-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jul  5 09:33:15 UTC 2014

Modified Files:
src/sys/kern: vfs_vnode.c
src/sys/sys: param.h vnode.h

Log Message:
Add vcache operations to support key changes:

vcache_rekey_enter locks the old cache node and creates and locks the
  new cache node.  It is an error if the new cache node exists.

vcache_rekey_exit removes the old cache node and finalizes and
  unlocks the new cache node.

No objections on tech-kern@

Welcome to 6.99.46


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.455 -r1.456 src/sys/sys/param.h
cvs rdiff -u -r1.248 -r1.249 src/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/nfs

2014-07-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jul  5 09:33:41 UTC 2014

Modified Files:
src/sys/nfs: nfs_vnops.c

Log Message:
Use vcache_rekey_* for nfs_lookitup() in the *npp != NULL case.


To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 src/sys/nfs/nfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2014-07-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Jul  8 09:21:52 UTC 2014

Modified Files:
src/sys/fs/msdosfs: denode.h msdosfs_denode.c msdosfs_lookup.c
msdosfs_vfsops.c msdosfs_vnops.c msdosfsmount.h

Log Message:
Change msdosfs from hashlist to vcache:
- Use (dir_cluster, dir_offset, dir_generation) as key, where
  dir_generation is non-zero and unique for unlinked but open nodes.
- Change deget() to return a vnode as it is unsafe to return a
  referenced but unlocked denode.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/fs/msdosfs/denode.h
cvs rdiff -u -r1.49 -r1.50 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -u -r1.32 -r1.33 src/sys/fs/msdosfs/msdosfs_lookup.c
cvs rdiff -u -r1.108 -r1.109 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -u -r1.89 -r1.90 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.19 -r1.20 src/sys/fs/msdosfs/msdosfsmount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/scsipi

2014-07-12 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jul 12 12:13:01 UTC 2014

Modified Files:
src/sys/dev/scsipi: cd.c

Log Message:
Prevent detaching an open device unless forced.


To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.320 src/sys/dev/scsipi/cd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/fdesc

2014-07-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jul 13 11:23:01 UTC 2014

Modified Files:
src/sys/miscfs/fdesc: fdesc.h fdesc_vfsops.c fdesc_vnops.c

Log Message:
Change fdesc from hashlist to vcache.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/miscfs/fdesc/fdesc.h
cvs rdiff -u -r1.88 -r1.89 src/sys/miscfs/fdesc/fdesc_vfsops.c
cvs rdiff -u -r1.119 -r1.120 src/sys/miscfs/fdesc/fdesc_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/kernfs

2014-07-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Jul 17 08:21:34 UTC 2014

Modified Files:
src/sys/miscfs/kernfs: kernfs.h kernfs_subr.c kernfs_vfsops.c
kernfs_vnops.c

Log Message:
Finish KAME IPSEC removal:
- Remove field kfs_value, it is always zero. Compute the hash from kt_tag.
- Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp.

While here, remove kfs_type from allocvp(), it is always kt-kt_tag.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/miscfs/kernfs/kernfs.h
cvs rdiff -u -r1.27 -r1.28 src/sys/miscfs/kernfs/kernfs_subr.c
cvs rdiff -u -r1.93 -r1.94 src/sys/miscfs/kernfs/kernfs_vfsops.c
cvs rdiff -u -r1.151 -r1.152 src/sys/miscfs/kernfs/kernfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/kernfs

2014-07-20 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jul 20 13:17:37 UTC 2014

Modified Files:
src/sys/miscfs/kernfs: kernfs.h

Log Message:
Remove another KAME IPSEC residue, struct secasvar and struct secpolicy.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/miscfs/kernfs/kernfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-07-20 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jul 20 13:58:05 UTC 2014

Modified Files:
src/sys/miscfs/kernfs: files.kernfs kernfs.h kernfs_vfsops.c
kernfs_vnops.c
src/sys/modules/kernfs: Makefile
src/sys/rump/fs/lib/libkernfs: Makefile
Removed Files:
src/sys/miscfs/kernfs: kernfs_subr.c

Log Message:
Change kernfs from hashlist to vcache.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/miscfs/kernfs/files.kernfs
cvs rdiff -u -r1.39 -r1.40 src/sys/miscfs/kernfs/kernfs.h
cvs rdiff -u -r1.28 -r0 src/sys/miscfs/kernfs/kernfs_subr.c
cvs rdiff -u -r1.94 -r1.95 src/sys/miscfs/kernfs/kernfs_vfsops.c
cvs rdiff -u -r1.152 -r1.153 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/kernfs/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/fs/lib/libkernfs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-07-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jul 27 16:47:26 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vfsops.c
procfs_vnops.c

Log Message:
Change procfs from hashlist to vcache.
- Key is (type, pid, fd)
- Remove argument p from procfs_allocvp().  It is only used
  when type == PFSfd.  Lookup the proc with proc_find() when
  procfs_loadvnode() needs it.
- Use a vfs_vnode_iterator for procfs_revoke_vnodes().


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.104 -r1.105 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.91 -r1.92 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.190 -r1.191 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/adosfs

2014-08-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Aug  5 08:50:54 UTC 2014

Modified Files:
src/sys/fs/adosfs: adosfs.h adutil.c advfsops.c advnops.c

Log Message:
Change adosfs from hashlist to vcache.
- point ap-block to real file header block for hard links.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/fs/adosfs/adosfs.h
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/adosfs/adutil.c
cvs rdiff -u -r1.70 -r1.71 src/sys/fs/adosfs/advfsops.c
cvs rdiff -u -r1.44 -r1.45 src/sys/fs/adosfs/advnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-08-07 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Aug  7 08:24:23 UTC 2014

Modified Files:
src/sys/fs/efs: efs_vfsops.c efs_vnops.c files.efs
src/sys/modules/efs: Makefile
src/sys/rump/fs/lib/libefs: Makefile
Removed Files:
src/sys/fs/efs: efs_ihash.c efs_ihash.h

Log Message:
Change efs from hashlist to vcache.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r0 src/sys/fs/efs/efs_ihash.c
cvs rdiff -u -r1.1 -r0 src/sys/fs/efs/efs_ihash.h
cvs rdiff -u -r1.25 -r1.26 src/sys/fs/efs/efs_vfsops.c
cvs rdiff -u -r1.32 -r1.33 src/sys/fs/efs/efs_vnops.c
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/efs/files.efs
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/efs/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/fs/lib/libefs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-10 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 10 13:52:36 UTC 2011

Modified Files:
src/sys/dev/pci: alipm.c ichsmb.c piixpm.c

Log Message:
Make the SMbus Send/Receive functions work.

If cmdlen = 0 and len = 1 use the XXX_HC_CMD_BYTE protocol, send
data through XXX_SMB_HCMD or receive data from XXX_SMB_HD0.

Ok: Paul Goyette


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/alipm.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/ichsmb.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/piixpm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2011-02-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Feb 13 11:20:12 UTC 2011

Modified Files:
src/sys/dev/pci: piixpm.c piixpmreg.h

Log Message:
The ServerWorks CSB5 smbus controller often times out and hangs until reboot.

Increase the delay between setting the command register and reading the
status register.  Reset the smbus controller if it has timed out.

Tested on an IBM eServer x335.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/piixpm.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/piixpmreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-02-14 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Feb 14 08:50:40 UTC 2011

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
src/sys/arch/amd64/conf: GENERIC
src/sys/arch/i386/conf: ALL GENERIC
src/sys/dev/i2c: files.i2c
Added Files:
src/share/man/man4: ibmhawk.4
src/sys/dev/i2c: ibmhawk.c ibmhawkreg.h ibmhawkvar.h

Log Message:
Initial implementation of ibmhawk(4) driver for sensors behind the IBM Hawk
on-board Integrated Systems Management Processor found on some eServers.

Tested on an IBM eServer x335.


To generate a diff of this commit:
cvs rdiff -u -r1.1287 -r1.1288 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.549 -r1.550 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/ibmhawk.4
cvs rdiff -u -r1.303 -r1.304 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.286 -r1.287 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1013 -r1.1014 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/i2c/files.i2c
cvs rdiff -u -r0 -r1.1 src/sys/dev/i2c/ibmhawk.c src/sys/dev/i2c/ibmhawkreg.h \
src/sys/dev/i2c/ibmhawkvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/i2c

2011-02-14 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Feb 14 14:15:25 UTC 2011

Modified Files:
src/sys/dev/i2c: ibmhawk.c

Log Message:
ibmhawk_set: No need to set states ENVSYS_SWARNxxx, sysmon will do it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/ibmhawk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2011-02-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Feb 16 19:43:06 UTC 2011

Modified Files:
src/sys/kern: vfs_wapbl.c

Log Message:
Set the limit for deallocations in one transaction to a more realistic
(and much lower) value.  When flushing the log these deallocations will
produce new blocks and that may execeed the journal size resulting in
a wapbl_flush: current transaction too big to flush panic.
Seen when removing a large snapshot.

Adresses PR #44568 (WAPBL doens't play nice with snapshots).


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/vfs_wapbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-02-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Feb 16 19:43:50 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Refine the scope of WAPBL transactions so we should no longer get
a wapbl_flush: current transaction too big to flush panic when
creating or removing snapshots on larger logging disks.

Adresses PR #44568 (WAPBL doens't play nice with snapshots).


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-02-18 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb 18 08:39:13 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Revert rev. 1.101.  Dead snapshots would hang around until unmount.

Adresses PR #44568 (WAPBL doens't play nice with snapshots).


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2011-02-18 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb 18 13:24:40 UTC 2011

Modified Files:
src/sys/kern: vfs_wapbl.c

Log Message:
Adjust previous: set the dealloc soft limit to half hard limit.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/kern/vfs_wapbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ddb

2011-02-20 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Feb 20 10:24:45 UTC 2011

Modified Files:
src/sys/ddb: db_cpu.c

Log Message:
When looking for the next element of cpu_queue compare the pointer to the
address of the head, not to the head itself.  Not sure if the cast of the
arg to db_value_name() is right, but works on i386 and compiles on sparc64.

Stack traces from ddb work again on i386.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/ddb/db_cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-02-21 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Feb 21 09:29:21 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Change the snapshot lock:
- No need to take the snapshot lock while the file system is suspended.
- Allow ffs_copyonwrite() one level of recursion with snapshots locked.
- Do the block address lookup with snapshots locked.
- Take the snapshot lock while removing a snapshot from the list.

While hunting deadlocks change the transaction scope for ffs_snapremove().
We could deadlock from UFS_WAPBL_BEGIN() with a buffer held.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-02-24 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Feb 24 09:38:58 UTC 2011

Modified Files:
src/sbin/dump: snapshot.c
src/share/man/man4: fss.4
src/sys/dev: fss.c fssvar.h
src/sys/ufs/ffs: ffs_snapshot.c
src/usr.sbin/fssconfig: fssconfig.c

Log Message:
fss(4): Allow FSSIOCSET to set the initial flags.  Add a new flag
FSS_UNLINK_ON_CREATE to unlink the backing store before
the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sbin/dump/snapshot.c
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/fss.4
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/fss.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/fssvar.h
cvs rdiff -u -r1.109 -r1.110 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fssconfig/fssconfig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-03-19 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Mar 19 20:05:21 UTC 2011

Modified Files:
src/sys/fs/msdosfs: msdosfs_vnops.c
src/tests/fs/vfs: t_vnops.c

Log Message:
Remove a vnode reference leak from msdosfs_rename. Release tdvp if either
doscheckpath() or relookup() fails.

Adjust test fs/vfs/t_vnops.c and remove the link count test for msdos.

Fixes PR #44661


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.21 -r1.22 src/tests/fs/vfs/t_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2011-03-20 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Mar 20 12:21:28 UTC 2011

Modified Files:
src/sys/fs/msdosfs: msdosfs_denode.c msdosfs_vnops.c

Log Message:
When extending a file, either by truncating or by writing past EOF make
sure the unallocated remainder of the last page gets zeroed.

Detected by fsx.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -u -r1.73 -r1.74 src/sys/fs/msdosfs/msdosfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2011-03-22 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Mar 22 20:33:51 UTC 2011

Modified Files:
src/sys/fs/msdosfs: msdosfs_denode.c

Log Message:
When truncating a file purge the fat cache after setting the new size
and after all io but before actually updating the cluster chain.

Both uvm_vnp_zerorange() and vtruncbuf() call get/putpages - bmap - pcbmap
and here the fat cache gets updated with information no longer valid after
truncation.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/fs/msdosfs/msdosfs_denode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-04-01 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Apr  1 17:40:54 UTC 2011

Modified Files:
src/sys/fs/tmpfs: tmpfs_subr.c
src/tests/fs/vfs: t_vnops.c

Log Message:
Make zero length symlinks work on tmpfs.

Fixes PR #43843 (tmpfs dies with kassert panic for 0 length symlink target)


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.22 -r1.23 src/tests/fs/vfs/t_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-04-02 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr  2 14:24:53 UTC 2011

Modified Files:
src/sys/fs/tmpfs: tmpfs_vfsops.c
src/tests/fs/vfs: t_vfsops.c

Log Message:
Fix file handle operations for tmpfs by removing a now bogus test and
fixing the return value of tmpfs_fhtovp() in the not-found case.

When vmlocking2 was merged to head (Jan 2008 !!) the inode numbering was
changed.  Before inodes were numbered 2..tm_nodes_max-1 and after the
merge the numbers are derived from the nodes memory address.

Fixes PR #43605 (tmpfs file handles are broken)


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/fs/tmpfs/tmpfs_vfsops.c
cvs rdiff -u -r1.9 -r1.10 src/tests/fs/vfs/t_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-04-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Apr  4 19:16:58 UTC 2011

Modified Files:
src/sys/fs/msdosfs: denode.h msdosfs_denode.c msdosfs_vfsops.c
src/tests/fs/vfs: t_vfsops.c

Log Message:
Msdosfs on-disk meta data is not sufficient to create or validate file handles.

Maintain a tree of file handles, create nodes from msdosfs_vptofh() and keep
them until either the file gets unlinked or the file system gets unmounted.

Fixes the msdosfs part of PR #43745 (fhopen of an unlinked file causes problems
on multiple file systems)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/fs/msdosfs/denode.h
cvs rdiff -u -r1.42 -r1.43 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -u -r1.89 -r1.90 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -u -r1.10 -r1.11 src/tests/fs/vfs/t_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-04-15 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Apr 15 15:54:12 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_vnops.c

Log Message:
ffs_fsync: no need for wapbl_vptomp() here -- vnode is always VREG.


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/ufs/ffs/ffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-04-18 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Apr 18 07:36:14 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Preallocate all cylinder group blocks so we no longer redo ~50% of
the cylinder groups while the file system is suspended.
This was removed in error with Rev 1.16.

From Manuel Bouyer bou...@netbsd.org via tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-04-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr 23 07:36:02 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_balloc.c

Log Message:
Try to keep snapshot indirect blocks contiguous.

This speeds up snapshot creation by a factor of ~3 and reduces
the file system suspension time by a factor of ~5.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/ufs/ffs/ffs_balloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-04-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr 23 08:23:52 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
ffs_snapshot(): return an error if the node is an invalid snapshot.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/scsipi

2011-04-25 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Apr 25 14:14:22 UTC 2011

Modified Files:
src/sys/dev/scsipi: scsiconf.c

Log Message:
Don't kill outstanding requests when detaching a scsibus on shutdown.
Both the controller and tyhe targets are still running.


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/sys/dev/scsipi/scsiconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/scsipi

2011-04-26 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Apr 26 07:41:18 UTC 2011

Modified Files:
src/sys/dev/scsipi: scsiconf.c

Log Message:
Fixup previous.

The bug was in scsibusdetach(), which is not doing things in the proper
order: it has to detach its children and check for error.  If no error,
then it can release the resources that the children were using.

From David Young via source-changes-d.


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/sys/dev/scsipi/scsiconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-04-26 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Apr 26 11:32:40 UTC 2011

Modified Files:
src/share/man/man9: vnode.9
src/sys/fs/msdosfs: msdosfs_vnops.c
src/sys/fs/ntfs: ntfs_vnops.c
src/sys/fs/sysvbfs: sysvbfs_vnops.c
src/sys/fs/udf: udf_subr.c udf_vnops.c
src/sys/kern: vfs_subr.c
src/sys/miscfs/specfs: spec_vnops.c
src/sys/sys: param.h vnode.h
src/sys/ufs/ext2fs: ext2fs_vnops.c

Log Message:
Change vflushbuf() to return an error if a synchronous write fails.

Welcome to 5.99.51.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/share/man/man9/vnode.9
cvs rdiff -u -r1.74 -r1.75 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.47 -r1.48 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -u -r1.113 -r1.114 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.63 -r1.64 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.421 -r1.422 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.131 -r1.132 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.387 -r1.388 src/sys/sys/param.h
cvs rdiff -u -r1.228 -r1.229 src/sys/sys/vnode.h
cvs rdiff -u -r1.98 -r1.99 src/sys/ufs/ext2fs/ext2fs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-04-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Apr 27 07:24:53 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_extern.h ffs_vfsops.c ffs_vnops.c

Log Message:
Cleanup ffs fsync and make devices on wapbl enabled file systems work here:

- Replace the ugly sync loop in ffs_full_fsync() and ffs_vfs_fsync() with
  vflushbuf().  This loop is a relic of softdeps and not needed anymore.

- Add ffs_spec_fsync() for device nodes on ffs file systems that calls
  spec_fsync() like all other file systems do and then updates the ctime.

Discussed on tech-kern.

Should fix PRs:
PR #41192 wapbl diagnostic panic during cgdconfig
PR #41977 kernel diagnostic assertion rw_lock_held(wl-wl_rwlock) failed
PR #42149 wapbl locking panic if watching DVD
PR #42551 Lockdebug assert in wapbl when running zpool


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/ufs/ffs/ffs_extern.h
cvs rdiff -u -r1.265 -r1.266 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.117 -r1.118 src/sys/ufs/ffs/ffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2011-04-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Apr 27 09:46:27 UTC 2011

Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
src/sys/sys: vnode.h

Log Message:
Remove no longer needed flag FSYNC_VFS /* fsync: via FSYNC_VFS() */.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -u -r1.229 -r1.230 src/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/sys

2011-04-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Apr 27 09:47:25 UTC 2011

Modified Files:
src/sys/sys: buf.h

Log Message:
Remove no longer needed flag BC_SCANNED /* Block already pushed during sync */.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/sys/buf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-04-29 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Apr 29 09:45:15 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Before expunging all snapshots take the snapshot lock and resume the file
system as this is sufficient for the remaining operations.

Reduces the time the file system is suspended and should make this time
independent of the number of snapshots already present.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ufs

2011-04-30 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr 30 14:24:27 UTC 2011

Modified Files:
src/sys/ufs/ufs: ufs_vnops.c

Log Message:
ufs_mknod: change vnode type to VNON before it gets unlocked.  Closes a small
window where the vnode could have type VCHR but op vector ffs_vnodeop_p.


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/sys/ufs/ufs/ufs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ffs

2011-05-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun May  8 18:37:15 UTC 2011

Modified Files:
src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Revert previous commit.  Locking the snapshot vnode while the file system
is suspended extends the suspension until the vnode gets unlocked by
the caller of ffs_snapshot().

Resuming the file system before expunging all snapshots and syncing the
snapshot creates races and deadlocks with journaling file systems at least.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2011-06-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Jun 16 09:21:04 UTC 2011

Modified Files:
src/sys/fs/msdosfs: msdosfs_denode.c msdosfs_vnops.c
src/sys/fs/tmpfs: tmpfs_subr.c
src/sys/fs/udf: udf_allocation.c
src/sys/rump/librump/rumpvfs: vm_vfs.c
src/sys/ufs/ext2fs: ext2fs_inode.c
src/sys/ufs/ffs: ffs_inode.c
src/sys/ufs/lfs: lfs_inode.c
src/sys/uvm: uvm_bio.c uvm_extern.h

Log Message:
Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmpfs_reg_resize() to zero the backing store (aobj) instead
of the vnode.  Ubc_purge() no longer panics when unmounting tmpfs.

Keep uvm_vnp_zerorange() until the next kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -u -r1.76 -r1.77 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.73 -r1.74 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/udf/udf_allocation.c
cvs rdiff -u -r1.29 -r1.30 src/sys/rump/librump/rumpvfs/vm_vfs.c
cvs rdiff -u -r1.73 -r1.74 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -u -r1.106 -r1.107 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -u -r1.123 -r1.124 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -u -r1.73 -r1.74 src/sys/uvm/uvm_bio.c
cvs rdiff -u -r1.173 -r1.174 src/sys/uvm/uvm_extern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



<    1   2   3   4   5   6   7   8   9   10   >