HomeFreeBSD

Unlocked getblk: Fix new false-positive assertion

Description

Unlocked getblk: Fix new false-positive assertion

A free buf's lock may be held (temporarily) due to unlocked lookup, so
buf_alloc() must acquire it without LK_NOWAIT. The unlocked getblk path
should unlock it promptly once it realizes the identity does not match
the buffer it was searching for.

Reported by: gallatin
Reviewed by: kib
Tested by: pho
X-MFC-With: r363482
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D25914

Details

Provenance
cemAuthored on
Reviewer
kib
Differential Revision
D25914: Unlocked getblk: Fix new false-positive assertion
Parents
rS363769: MFC r363284-r363285, r363670
Branches
Unknown
Tags
Unknown