HomeFreeBSD

nullfs: lock the vnode with LK_SHARED in null_vptocnp

Description

nullfs: lock the vnode with LK_SHARED in null_vptocnp

null_nodeget which follows almost always finds the target vnode in the hash,
avoiding insmntque1 altogether. Should it be needed, it already checks if the
lock needs to be upgraded.

Reviewed by: kib
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20244

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D20244: nullfs: lock the vnode with LK_SHARED in null_vptocnp
Parents
rS351359: Fix inverted predicates for sx lock hold events in lockstat(1).
Branches
Unknown
Tags
Unknown