Skip to content

Commit

Permalink
[vpsAdminOS] zfs_dirty_data_max_max: maximum 32 GB by default v2
Browse files Browse the repository at this point in the history
  • Loading branch information
snajpa committed Sep 21, 2022
1 parent 24888fc commit 736d66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 736d66e

Please sign in to comment.