Skip to content

Commit 8c49329

Browse files
author
Paul Dagnelie
committed
feedback
Signed-off-by: Paul Dagnelie <[email protected]>
1 parent 2e1882f commit 8c49329

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

man/man4/zfs.4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ Normally disabled because these datasets may be missing key data.
17781778
.It Sy zfs_min_metaslabs_to_flush Ns = Ns Sy 1 Pq u64
17791779
Minimum number of metaslabs to flush per dirty TXG.
17801780
.
1781-
.It Sy zfs_metaslab_fragmentation_threshold Ns = Ns Sy 85 Ns % Pq uint
1781+
.It Sy zfs_metaslab_fragmentation_threshold Ns = Ns Sy 77 Ns % Pq uint
17821782
Allow metaslabs to keep their active state as long as their fragmentation
17831783
percentage is no more than this value.
17841784
An active metaslab that exceeds this threshold

module/zfs/metaslab.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static uint_t zfs_mg_fragmentation_threshold = 95;
146146
* active metaslab that exceeds this threshold will no longer keep its active
147147
* status allowing better metaslabs to be selected.
148148
*/
149-
static uint_t zfs_metaslab_fragmentation_threshold = 85;
149+
static uint_t zfs_metaslab_fragmentation_threshold = 77;
150150

151151
/*
152152
* When set will load all metaslabs when pool is first opened.
@@ -2901,7 +2901,7 @@ metaslab_fini(metaslab_t *msp)
29012901
* Conversely, if the metric is low, then most of the free space is in
29022902
* large segments.
29032903
*
2904-
* This table defines 0% fragmented space using 1G segments. Using this value,
2904+
* This table defines 0% fragmented space using 512M segments. Using this value,
29052905
* we derive the rest of the table. This table originally went up to 16MB, but
29062906
* with larger recordsizes, larger ashifts, and use of raidz3, it is possible
29072907
* to have significantly larger allocations than were previously possible.

0 commit comments

Comments
 (0)