markj 3579270d7e Avoid dropping the topology lock in gmirror's dumpconf implementation.
Doing so introduces races which can lead to a use-after-free when
grabbing a snapshot of the GEOM mesh.

To ensure that a mirror's disk list remains stable, change its locking
protocol: both the softc lock and the topology lock are now required
to modify the list, so either lock is sufficient for traversal.

Tested by:	pho
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
2018-05-06 00:03:24 +00:00
..
2018-05-04 22:41:12 +00:00
2018-05-01 19:17:38 +00:00
2018-02-14 00:12:03 +00:00
2018-05-04 18:57:05 +00:00
2018-04-26 12:23:31 +00:00
2018-05-02 15:59:15 +00:00
2018-04-11 17:28:24 +00:00
2018-05-02 15:59:15 +00:00
2018-03-24 21:30:24 +00:00
2018-05-04 17:17:30 +00:00
2018-05-02 10:19:17 +00:00