HomeFreeBSD

nullfs: adopt VV_CROSSLOCK

Description

nullfs: adopt VV_CROSSLOCK

When the lower filesystem directory hierarchy is the same as the nullfs
mount point (admittedly not likely to be a useful situation in
practice), nullfs is subject to the exact deadlock between the busy
count drain and the covered vnode lock that VV_CROSSLOCK is intended
to address.

Reviewed by: kib
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D37458

Details

Provenance
jahAuthored on Nov 20 2022, 6:33 PM
Reviewer
kib
Differential Revision
D37458: Various fixes related to VV_CROSSLOCK handling
Parents
rG5cec725cd32a: unionfs: allow recursion on covered vnode lock during mount/unmount
Branches
Unknown
Tags
Unknown