From 5d7f47d8280d7eb6a61f9b9721c8d30e84c6f683 Mon Sep 17 00:00:00 2001 From: jumbi77 Date: Thu, 24 Jun 2021 19:02:54 +0200 Subject: [PATCH] zfs_metaslab_mem_limit should be 25 instead of 75 According to current zfs man page zfs_metaslab_mem_limit should be 25 instead of 75. Reviewed-by: Matthew Ahrens Reviewed-by: Brian Behlendorf Reviewed-by: Paul Dagnelie Reviewed-by: Mark Maybee Signed-off-by: jumbi77@users.noreply.github.com Closes #12273 --- module/zfs/metaslab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c index 21914c1aee..0ddad5b026 100644 --- a/module/zfs/metaslab.c +++ b/module/zfs/metaslab.c @@ -293,7 +293,7 @@ unsigned long zfs_metaslab_max_size_cache_sec = 3600; /* 1 hour */ * a metaslab would take it over this percentage, the oldest selected metaslab * is automatically unloaded. */ -int zfs_metaslab_mem_limit = 75; +int zfs_metaslab_mem_limit = 25; /* * Force the per-metaslab range trees to use 64-bit integers to store