HomeFreeBSD

MFC r356178: Fix GEOM_MOUNTVER orphanization.

Description

MFC r356178: Fix GEOM_MOUNTVER orphanization.

Previous code closed and detached consumer even with I/O still in progress.
This patch adds locking and request counting to postpone the close till
the last of running requests completes.

Details

Provenance
mavAuthored on
Parents
rS356583: MFC r356162, r356182: Fix GEOM_SHSEC orphanization.
Branches
Unknown
Tags
Unknown