HomeFreeBSD

Allow vinvalbuf() to operate with the shared vnode lock.

Description

Allow vinvalbuf() to operate with the shared vnode lock.

This mode allows other clean buffers to arrive while we flush the buf
lists for the vnode, which is fine for the targeted use. We only need
that all buffers existed at the time of the function start were
flushed. In fact, only one assert has to be relaxed.

In collaboration with: pho
Reviewed by: rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
X-Differential revision: https://reviews.freebsd.org/D12083

Details

Provenance
kibAuthored on
Reviewer
rmacklem
Parents
rS322720: Simplify amd64 trap().
Branches
Unknown
Tags
Unknown