]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not complete pending gmirror BIOs when tearing down the provider.
authorMark Johnston <markj@FreeBSD.org>
Wed, 22 Jun 2016 21:00:28 +0000 (21:00 +0000)
committerMark Johnston <markj@FreeBSD.org>
Wed, 22 Jun 2016 21:00:28 +0000 (21:00 +0000)
commitbe20fc2e90ef8f23afb2149e99e3a7105eaa8e57
treeb8fb0706255c5643f5702676a2dece4e0488dcbb
parentb38eb9eac80fd76f98b5cc1c2f6dc76640dd0aa9
Do not complete pending gmirror BIOs when tearing down the provider.

This will result in lock recursion and is more generally incorrect since
the completion handlers will just reinsert the BIOs into the queue we're
trying to drain.

Reviewed by: imp, ngie
Approved by: re (gjb)
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6908
sys/geom/mirror/g_mirror.c