zfsonlinux/zfs — pull request #2227 by nedbass (2014-04-01 00:35:39+00:00)
Title: Illumos #4101 finer-grained control of metaslab_debug

Today the metaslab_debug logic performs two tasks:

- load all metaslabs on import/open
- don't unload metaslabs at the end of spa_sync

This change provides knobs for each of these independently.

References:
https://illumos.org/issues/4101
https://github.com/illumos/illumos-gate/commit/0713e23

Ported-by: Ned Bass