CVS commit: src/sys/fs/union

2021-07-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jul 4 11:24:09 UTC 2021 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Fix union_parsepath(), either the upper or the lower dvp may be NULL. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78

CVS commit: src/sys/fs/union

2020-08-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Aug 18 09:44:07 UTC 2020 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c Log Message: Operation union_readdirhook() stores the lower directory as un_uppervp. This breaks the assumption that

CVS commit: src/sys/fs/union

2018-01-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 28 15:48:44 UTC 2018 Modified Files: src/sys/fs/union: union_subr.c Log Message: CID-1428639: make sure we always initialiaze hash, because if ultimately the file is not found and we end up looping we need them. To

CVS commit: src/sys/fs/union

2017-07-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jul 17 09:22:36 UTC 2017 Modified Files: src/sys/fs/union: union.h union_subr.c Log Message: Make union_newlower() ans union_newupper() local to union_subr.c, expand and remove union_updatevp() and take care to transfer the

CVS commit: src/sys/fs/union

2017-05-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed May 24 09:55:19 UTC 2017 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Use VCALL() to lock or unlock the lower node. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/sys/fs/union

2017-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 7 08:22:40 UTC 2017 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Move v_writecount adjustment from revoke to reclaim. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/sys/fs/union

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 6 10:08:49 UTC 2017 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Handle v_writecount from union_open(), union_close() and union_revoke() so lower file system vnodes get marked as open for writing. To

CVS commit: src/sys/fs/union

2015-07-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Jul 23 09:45:21 UTC 2015 Modified Files: src/sys/fs/union: union_vfsops.c Log Message: union_unmount: use vfs_vnode_iterator to count attached vnodes. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/sys/fs/union

2015-02-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 24 16:08:01 UTC 2015 Modified Files: src/sys/fs/union: union_subr.c Log Message: A union node may be reactivated while it is being reclaimed so change union_freevp() to detach the vnode from the union node by clearing

CVS commit: src/sys/fs/union

2015-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 16 10:21:25 UTC 2015 Modified Files: src/sys/fs/union: union.h union_subr.c Log Message: Add reference count to union node. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/fs/union/union.h cvs

CVS commit: src/sys/fs/union

2015-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 16 10:20:57 UTC 2015 Modified Files: src/sys/fs/union: union_subr.c Log Message: Remove a superfluous vref(), VOP_CREATE() was changed to keep dvp referenced and locked some time ago. To generate a diff of this commit:

CVS commit: src/sys/fs/union

2015-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 16 10:22:00 UTC 2015 Modified Files: src/sys/fs/union: union.h union_subr.c union_vfsops.c Log Message: Change union to vcache. Use address of the union node as key. It would be better to use (uppervp, lowervp) as key,

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

CVS commit: src/sys/fs/union

2014-05-16 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat May 17 04:03:49 UTC 2014 Modified Files: src/sys/fs/union: union_subr.c union_vnops.c Log Message: Set *vpp to NULL before calling VOP_CREATE. This always happens when calling using nameidata, and if not something went

CVS commit: src/sys/fs/union

2014-05-16 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat May 17 04:07:15 UTC 2014 Modified Files: src/sys/fs/union: union_subr.c union_vnops.c Log Message: Also set or assert that *vpp is null before calling VOP_MKDIR. To generate a diff of this commit: cvs rdiff -u -r1.64

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

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

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 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

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.

CVS commit: src/sys/fs/union

2014-02-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 13 21:05:26 UTC 2014 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Remove an unused variable To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/fs/union/union_vnops.c Please note that

CVS commit: src/sys/fs/union

2013-10-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 17 21:03:50 UTC 2013 Modified Files: src/sys/fs/union: union_subr.c Log Message: remove unused code To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/fs/union/union_subr.c Please note that diffs

CVS commit: src/sys/fs/union

2011-12-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Dec 5 11:12:11 UTC 2011 Modified Files: src/sys/fs/union: union_vfsops.c Log Message: The union file system is as stable as other layered file systems so no longer print a warning to the console. Gnats is waiting ... To

CVS commit: src/sys/fs/union

2011-11-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Nov 25 11:19:10 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: When union_allocvp() finds a node being cleaned out and the caller holds a lock, ignore the node and continue. To allow the cleaning to

CVS commit: src/sys/fs/union

2011-11-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 23 19:39:11 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vfsops.c Log Message: Use hashinit() / hashdone() to create the union node hash list. Cleanup the hash lookup in union_allocvp(). Needs

CVS commit: src/sys/fs/union

2011-11-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 21 18:29:23 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vfsops.c union_vnops.c Log Message: Replace flag based union node locking with generic vnode lock, support shared and nowait locks and

CVS commit: src/sys/fs/union

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 18:38:14 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Remove a needless vnode lock/unlock dance. This is a leftover from the removal of VOP_LEASE(). Function union_removed_upper() always

CVS commit: src/sys/fs/union

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 18:42:57 UTC 2011 Modified Files: src/sys/fs/union: union_vnops.c Log Message: VOP_ABORTOP() has no specific lock requirements so there is no need to force locked vnodes here. It should be impossible to come here

CVS commit: src/sys/fs/union

2011-10-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Oct 18 09:22:53 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c union_vnops.c Log Message: VOP_GETATTR() needs a shared lock at least. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/sys/fs/union

2011-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Aug 28 08:27:57 UTC 2011 Modified Files: src/sys/fs/union: union_vfsops.c Log Message: Print the warning message on mount once. Should fix PR #42795 (patch to make mounting union filesystems less obnoxious) To generate a

CVS commit: src/sys/fs/union

2011-08-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Aug 23 07:39:37 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c Log Message: Stop abusing relookup() to prepare the creation of new nodes in the upper layer. Replace union_relookup() with

CVS commit: src/sys/fs/union

2011-08-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Aug 13 10:48:14 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Use mutexes to protect the hash lists instead of tsleep/wakeup. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/sys/fs/union

2011-08-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 12 06:40:10 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: When creating a union node representing a device initialize the spec_node to make vrele() happy. To generate a diff of this commit: cvs

CVS commit: src/sys/fs/union

2011-08-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 12 14:36:30 UTC 2011 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Add missing parts to mount devices from a union file system: - union_close()has to lock/unlock the lower vnode. - union_fsync()has

CVS commit: src/sys/fs/union

2011-08-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 12 17:41:17 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c Log Message: Change some `#ifdef DIAGNOSTIC' to `KASSERT'. Instead of a `pid_t' use a `lwp_t *' for locking diagnostics. No

CVS commit: src/sys/fs/union

2011-08-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 10 06:19:54 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Use LK_SHARED, it is sufficient for VOP_GETATTR() and VOP_READDIR(). To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src/sys/fs/union

2011-08-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 10 15:56:01 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Update the (shared) v_interlock if the upper node changes. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/sys/fs/union

2010-07-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jul 16 08:23:28 UTC 2010 Modified Files: src/sys/fs/union: union_subr.c Log Message: Always take the hash list lock before removing a node from the hash chain. Release the hash list lock before calling getnewvnode() and

CVS commit: src/sys/fs/union

2010-07-05 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jul 5 21:27:08 UTC 2010 Modified Files: src/sys/fs/union: union_vfsops.c Log Message: union doesn't use layerfs (avoids panic in kernel bootstrap when union is compiled in but none of the layer-using file systems are). To

CVS commit: src/sys/fs/union

2010-07-02 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jul 2 07:56:46 UTC 2010 Modified Files: src/sys/fs/union: union_vnops.c Log Message: LK_INTERLOCK is no longer a valid flag for VOP_LOCK(). To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/sys/fs/union

2010-05-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat May 1 10:44:59 UTC 2010 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Return correct value from union_islocked. (XXX: anything asserting LK_SHARED will fail because union doesn't support shared locks) To