#
939afc6b |
| 18-Jul-2022 |
thorpej <thorpej@NetBSD.org> |
Make kqueue event status for vnodes shareable, and for stacked file systems like nullfs, make the upper vnode share that status with the lower vnode.
And, lo, NetBSD 9.99.99.
Fixes PR kern/56713.
|
#
01d8bbd5 |
| 19-Mar-2022 |
hannken <hannken@NetBSD.org> |
Remove now unused VV_LOCKSWORK, all file systems support locking.
Remove unused predicates vn_locked() and vn_anylocked().
Welcome to 9.99.95
|
#
a96db01f |
| 19-Mar-2022 |
hannken <hannken@NetBSD.org> |
As FSTRANS is part of VOP_*LOCK() since June 4, 2017 the vdead_check() from union_lock() is no longer needed.
Adapt union_lock() to the recent addition of upgrade or downgrade.
VV_LOCKSWORK now.
|
#
ea9b7f14 |
| 18-Aug-2020 |
hannken <hannken@NetBSD.org> |
Operation union_readdirhook() stores the lower directory as un_uppervp. This breaks the assumption that un_uppervp->v_mount is the upper mount.
Fix by storing the directory as un_lowervp and adapt u
Operation union_readdirhook() stores the lower directory as un_uppervp. This breaks the assumption that un_uppervp->v_mount is the upper mount.
Fix by storing the directory as un_lowervp and adapt union_readdir().
Should fix PR kern/55552: panic with union mount
show more ...
|
#
b4dac182 |
| 23-Feb-2020 |
ad <ad@NetBSD.org> |
UVM locking changes, proposed on tech-kern:
- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock. - Break v_interlock and vmobjlock apart. v_interlock remains a mutex. - Do partial
UVM locking changes, proposed on tech-kern:
- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock. - Break v_interlock and vmobjlock apart. v_interlock remains a mutex. - Do partial PV list locking in the x86 pmap. Others to follow later.
show more ...
|
#
787cd453 |
| 28-Jan-2018 |
christos <christos@NetBSD.org> |
CID-1428639: make sure we always initialiaze hash, because if ultimately the file is not found and we end up looping we need them.
|
#
fddb4449 |
| 17-Jul-2017 |
hannken <hannken@NetBSD.org> |
Make union_newlower() ans union_newupper() local to union_subr.c, expand and remove union_updatevp() and take care to transfer the vnode lock from the union vnode to its new upper vnode without break
Make union_newlower() ans union_newupper() local to union_subr.c, expand and remove union_updatevp() and take care to transfer the vnode lock from the union vnode to its new upper vnode without breaking the fstrans state.
Add assertions that un_lowervp and un_uppervp never change from non-NULL to non-NULL.
show more ...
|
#
d65a6a67 |
| 01-Jun-2017 |
chs <chs@NetBSD.org> |
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
al
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
show more ...
|
#
c5758170 |
| 20-Aug-2016 |
hannken <hannken@NetBSD.org> |
Remove now obsolete operation vcache_remove().
Welcome to 7.99.36
|
#
5d56e625 |
| 20-Apr-2015 |
riastradh <riastradh@NetBSD.org> |
Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE.
|
#
a3fcb9fc |
| 20-Apr-2015 |
riastradh <riastradh@NetBSD.org> |
Make vget always return vnode unlocked.
Convert callers who want locks to use vn_lock afterward.
Add extra argument so the compiler will report stragglers.
|
#
9c705dcb |
| 24-Feb-2015 |
hannken <hannken@NetBSD.org> |
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 vnode backpointer and the lower node sizes.
|
#
35d6a3a7 |
| 16-Feb-2015 |
hannken <hannken@NetBSD.org> |
Change union to vcache. Use address of the union node as key.
It would be better to use (uppervp, lowervp) as key, but either may be NULL and may change any time.
|
#
4931fa0e |
| 16-Feb-2015 |
hannken <hannken@NetBSD.org> |
Add reference count to union node.
|
#
cb1324bb |
| 16-Feb-2015 |
hannken <hannken@NetBSD.org> |
Remove a superfluous vref(), VOP_CREATE() was changed to keep dvp referenced and locked some time ago.
|
#
2269630f |
| 05-Sep-2014 |
matt <matt@NetBSD.org> |
Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get a correctly typed pointer.
|
#
2201379b |
| 17-Jun-2014 |
hannken <hannken@NetBSD.org> |
Unlock directory vnode after VOP_CREATE.
|
#
cef9d3b1 |
| 17-May-2014 |
dholland <dholland@NetBSD.org> |
Also set or assert that *vpp is null before calling VOP_MKDIR.
|
#
68ea6219 |
| 17-May-2014 |
dholland <dholland@NetBSD.org> |
Set *vpp to NULL before calling VOP_CREATE. This always happens when calling using nameidata, and if not something went wrong, so we'd like to be able to assert about it.
|
#
bab5b9eb |
| 16-Feb-2014 |
hannken <hannken@NetBSD.org> |
Change union_allocvp() to take an unlocked uppervp and to return the union node unlocked. Another VI_XLOCK hack is gone.
|
#
8f3876bb |
| 14-Feb-2014 |
hannken <hannken@NetBSD.org> |
Member un_flags is unused now -- remove.
|
#
ea00a986 |
| 13-Feb-2014 |
hannken <hannken@NetBSD.org> |
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.
|
#
55cd8e93 |
| 07-Feb-2014 |
hannken <hannken@NetBSD.org> |
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
|
#
c6e0548d |
| 23-Jan-2014 |
hannken <hannken@NetBSD.org> |
Change vnode operations create, mknod, mkdir and symlink to return the resulting vnode *vpp unlocked.
Discussed on tech-kern@
Welcome to 6.99.30
|
#
5e76d89d |
| 17-Jan-2014 |
hannken <hannken@NetBSD.org> |
Change vnode operations create, mknod, mkdir and symlink to keep the directory node dvp locked on return.
Discussed on tech-kern@
Welcome to 6.99.29
|