Feature #4081

need zfs_mg_noalloc_threshold

Added by Christopher Siden over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:2013-08-27
Priority:NormalDue date:
Assignee:Christopher Siden% Done:


Category:zfs - Zettabyte File System
Target version:-
Difficulty:Medium Tags:needs-triage


This is a ZFS tunable for pools with heavily imbalanced vdevs. If the threshold is set to non-zero and a vdev is more full than the threshold we stop making allocations to it until all other vdevs are just as full. This is a much better way to focus writes on newly added vdevs to balance the pool than the old zfs_mg_alloc_failures.


#1 Updated by Christopher Siden over 5 years ago

  • Status changed from In Progress to Closed
commit 22e30981d82a0b6dc89253596ededafae8655e00
Author: George Wilson <george.wilson@delphix.com>
Date:   Thu Aug 29 11:56:49 2013

    3954 metaslabs continue to load even after hitting zfs_mg_alloc_failure limit
    4080 zpool clear fails to clear pool
    4081 need zfs_mg_noalloc_threshold
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom