HomeFreeBSD

nullfs: reduce areas protected by vnode interlock

Description

nullfs: reduce areas protected by vnode interlock

Some places only take the interlock to hold the vnode, which was a requiremnt
before they started being manipulated with atomics. Use the newly introduced
vholdnz to bump the count.

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

Details

Provenance
mjgAuthored on Aug 25 2019, 5:13 AM
Parents
rG0256405e985d: vfs: add vholdnz (for already held vnodes)
Branches
Unknown
Tags
Unknown

Event Timeline