HomeFreeBSD

Tighten up periph lock to avoid some races

Description

Tighten up periph lock to avoid some races

Make sure the periph lock is held around rmw access to softc data,
espeically flags, including work flags in iosched.
Add asserts for the periph lock where it should be held.

PR: 226510
Sponsored by: Netflix
Differential Review: https://reviews.freebsd.org/D14456

Details

Provenance
impAuthored on
Parents
rS330795: The vmresult table was missing most of the values apart from two due to
Branches
Unknown
Tags
Unknown