From 736d66efce57052435bb0296b4cca994be4de52a Mon Sep 17 00:00:00 2001 From: Pavel Snajdr Date: Mon, 19 Sep 2022 23:34:43 +0200 Subject: [PATCH] [vpsAdminOS] zfs_dirty_data_max_max: maximum 32 GB by default v2 --- module/zfs/arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index a179c5833f60..77806877e1c8 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -8002,7 +8002,7 @@ arc_init(void) */ #ifdef __LP64__ if (zfs_dirty_data_max_max == 0) - zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024, + zfs_dirty_data_max_max = MIN(32ULL * 1024 * 1024 * 1024, allmem * zfs_dirty_data_max_max_percent / 100); #else if (zfs_dirty_data_max_max == 0)