Home
last modified time | relevance | path

Searched hist:"6 ff167aa427c75d97153a4ffb343f8cbf93a22db" (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/fs/unionfs/
H A Dunion_subr.cdiff 6ff167aa427c75d97153a4ffb343f8cbf93a22db Sun Jan 30 21:52:08 CET 2022 Jason A. Harmening <jah@FreeBSD.org> unionfs: allow lock recursion when reclaiming the root vnode

The unionfs root vnode will always share a lock with its lower vnode.
If unionfs was mounted with the 'below' option, this will also be the
vnode covered by the unionfs mount. During unmount, the covered vnode
will be locked by dounmount() while the unionfs root vnode will be
locked by vgone(). This effectively requires recursion on the same
underlying like, albeit through two different vnodes.

Reported by: pho
Reviewed by: kib, markj, pho
Differential Revision: https://reviews.freebsd.org/D34109
H A Dunion_vnops.cdiff 6ff167aa427c75d97153a4ffb343f8cbf93a22db Sun Jan 30 21:52:08 CET 2022 Jason A. Harmening <jah@FreeBSD.org> unionfs: allow lock recursion when reclaiming the root vnode

The unionfs root vnode will always share a lock with its lower vnode.
If unionfs was mounted with the 'below' option, this will also be the
vnode covered by the unionfs mount. During unmount, the covered vnode
will be locked by dounmount() while the unionfs root vnode will be
locked by vgone(). This effectively requires recursion on the same
underlying like, albeit through two different vnodes.

Reported by: pho
Reviewed by: kib, markj, pho
Differential Revision: https://reviews.freebsd.org/D34109