]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
graid3: Fix teardown races
authorMark Johnston <markj@FreeBSD.org>
Thu, 2 Nov 2023 18:35:37 +0000 (14:35 -0400)
committerMark Johnston <markj@FreeBSD.org>
Thu, 2 Nov 2023 18:35:37 +0000 (14:35 -0400)
commit33cb9b3c3a2260cc273713b0adcd95016ff8b675
tree1f1cd6364294f15578feaeea4f15ff858faea440
parent71b77a7172c26783a9d2181d3bed27cf62974200
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
sys/geom/raid3/g_raid3.c
sys/geom/raid3/g_raid3.h