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 src/s
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 un_uppervp->v_
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 gen
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
v
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 src/sys/fs/union/union_vnops.
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 src/sys/fs/union/union
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 ge
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 src/sys/fs
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 the
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,
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 rdif
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:
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
Plea
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 -r1.6
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 wrong
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
un
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 hac
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
cv
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 d
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
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_vno
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 ar
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 g
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 suc
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 m
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 prot
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
with
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 works
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 src/sys/fs/union/u
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 d
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 union_d
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 src/sys/fs/u
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 functi
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
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 rd
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 src/sys/fs/union/
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 src/sys
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 chec
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 ge
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 src/sys/fs/union/uni
Module Name:src
Committed By: hannken
Date: Wed Jun 30 13:10:35 UTC 2010
Modified Files:
src/sys/fs/union: union_vfsops.c
Log Message:
The directory vnode must be locked before we call VOP_WHITEOUT().
Should fix PR #23986 "problem mounting directories".
To generate a di
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 gener
42 matches
Mail list logo