Prepare the ground for a rework of the bridge locking approach. We will
use an epoch-based approach in the datapath and making it safe to
iterate over the interface, span and rtnode lists without holding the
BRIDGE_LOCK. Replace the relevant lists by their ConcurrencyKit
equivalents.
No functional change in this commit.
Sponsored by: The FreeBSD Foundation
when ZFS grows the pool, it will add more metaslabs of this same size.
So we want to keep the number of slabs small, so that growing the pool to 100x the size doesn't result in 16,000 metaslabs.
The only downside is, any slack that doesn't fit into a metaslab will be unused, so if we just set a metaslab size of 4G, then we'd only have 8G usable from a 10G image.
Although without knowing how large they are going to grow it, it can be difficult to guess what number is right.