]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337970: 9738 Fix third block copy allocations, broken at 9112.
authormav <mav@FreeBSD.org>
Wed, 3 Oct 2018 15:34:49 +0000 (15:34 +0000)
committermav <mav@FreeBSD.org>
Wed, 3 Oct 2018 15:34:49 +0000 (15:34 +0000)
commit14ca28fc73c7d0e25630642f3ec4c15525093bc4
tree607d7d34e2569310b9c96bf9b14046c4225bb453
parente78d26aaa3e10cc6249f8200bc4a03e1a5f119c4
MFC r337970: 9738 Fix third block copy allocations, broken at 9112.

Use METASLAB_WEIGHT_CLAIM weight to allocate tertiary blocks.
Previous use of METASLAB_WEIGHT_SECONDARY for that caused errors
later on metaslab_activate_allocator() call, leading to massive
load of unneeded metaslabs and write freezes.

Reviewed by:    Paul Dagnelie <pcd@delphix.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c