Skip to content

Commit

Permalink
[vpsAdminOS] tune zfs sync passes defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
snajpa committed Oct 5, 2022
1 parent ce28cd1 commit b664d7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/zfs/zio.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ int zio_slow_io_ms = (30 * MILLISEC);
* fragmented systems, which may have very few free segments of this size,
* and may need to load new metaslabs to satisfy 128K allocations.
*/
int zfs_sync_pass_deferred_free = 2; /* defer frees starting in this pass */
int zfs_sync_pass_dont_compress = 8; /* don't compress starting in this pass */
int zfs_sync_pass_deferred_free = 8; /* defer frees starting in this pass */
int zfs_sync_pass_dont_compress = 64; /* don't compress starting in this pass */
int zfs_sync_pass_rewrite = 2; /* rewrite new bps starting in this pass */

/*
Expand Down

0 comments on commit b664d7b

Please sign in to comment.