]> git.proxmox.com Git - mirror_zfs.git/commit
OpenZFS 9751 - Allocation throttling misplacing ditto blocks
authormav <mav@FreeBSD.org>
Fri, 17 Aug 2018 15:17:09 +0000 (15:17 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 2 Sep 2018 19:22:45 +0000 (12:22 -0700)
commitc197a77c3cf36531e4cf79e524e1ccf7ec00cc4c
tree9af15bac913f5a64f64d3f77b6ed1bc7f18b7a87
parente38afd34c37343c2df17dc6860788f33eec7c2b3
OpenZFS 9751 - Allocation throttling misplacing ditto blocks

Relax allocation throttling for ditto blocks.  Due to random imbalances
in allocation it tends to push block copies to one vdev, that looks
slightly better at the moment.  Slightly less strict policy allows both
improve data security and surprisingly write performance, since we don't
need to touch extra metaslabs on each vdev to respect the min distance.

Sponsored by: iXsystems, Inc.

Authored by: mav <mav@FreeBSD.org>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
OpenZFS-issue: https://illumos.org/issues/9751
FreeBSD-commit: https://github.com/freebsd/freebsd/commit/8253837ac3
Closes #7857
module/zfs/metaslab.c