HomeFreeBSD

graid3: Fix teardown races

Description

graid3: Fix teardown races

Port commit dc399583ba09 from g_mirror, which has an effectively
identical startup sequence.

This fixes a race that was occasionally causing panics during GEOM test
suite runs on riscv.

MFC after: 1 month

(cherry picked from commit 33cb9b3c3a2260cc273713b0adcd95016ff8b675)

Details

Provenance
markjAuthored on Nov 2 2023, 6:35 PM
Parents
rG84ef0a84ecaa: ossl: Keep mutable AES-GCM state on the stack
Branches
Unknown
Tags
Unknown