HomeFreeBSD

Fix GEOM_GATE orphanization.

Description

Fix GEOM_GATE orphanization.

Previous code closed and destroyed direct read 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.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on Dec 28 2019, 5:52 PM
Parents
rGdf8db6ddb9bf: vm_object_shadow(): fix object reference leak.
Branches
Unknown
Tags
Unknown

Event Timeline