HomeFreeBSD

gpart: Avoid geom_gettree() call in "bootcode -b".

Description

gpart: Avoid geom_gettree() call in "bootcode -b".

geom_gettree() may be pretty expensive on large systems, and it is
not needed if only -b flag specified, that is processed by kernel.

MFC after: 1 month

Details

Provenance
mavAuthored on Mar 8 2022, 6:44 PM
Parents
rGc7cd6f809d2c: usb(4): Don't skip calling uhub_explore_sub() even on HUB port errors.
Branches
Unknown
Tags
Unknown