HomeFreeBSD

Allow more nesting of GEOM partitioning schemes

Description

Allow more nesting of GEOM partitioning schemes

GEOM is supposed to be topology-agnostic, but the GPT and BSD partition code
has arbitrary restrictions on nesting that are annoying in cases such as
running VMs on raw partitions (since the VM's partitioning scheme is not
visible to the host).

This patch adds sysctls to disable the restrictions except in the case of
BSD label (and similar) partitions with offset 0 (where we need to avoid
recursively recognizing the label).

Submitted by: Andrew Gierth
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D21350

Details

Committed
kevansSep 3 2019, 8:57 PM
Differential Revision
D21350: Allow more nesting of GEOM partitioning schemes
Parents
rS351796: posixshm: start counting writeable mappings
Branches
Unknown
Tags
Unknown