aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2017-12-12 15:46:58 -0800
committerBrian Behlendorf <[email protected]>2018-10-04 13:13:28 -0700
commitdfbe26750308d757d20af8eb5aefef49ec65d4a8 (patch)
treea06a369cecdbe4cd70627fbe44b9344cc95b7a29 /include/sys
parent58c0f374f101a37b5e1bb22359f40020f235e008 (diff)
OpenZFS 9617 - too-frequent TXG sync causes excessive write inflation
Porting notes: * Renamed zfs_dirty_data_sync_pct to zfs_dirty_data_sync_percent and changed the type to be consistent with the other dirty module params. * Updated zfs-module-parameters.5 accordingly. Authored by: Matthew Ahrens <[email protected]> Reviewed by: Serapheim Dimitropoulos <[email protected]> Reviewed by: Brad Lewis <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Andrew Stormont <[email protected]> Reviewed-by: George Melikov <[email protected]> Approved by: Robert Mustacchi <[email protected]> Ported-by: Brian Behlendorf <[email protected]> OpenZFS-issue: https://illumos.org/issues/9617 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/7928f4ba Closes #7976
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/dsl_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dsl_pool.h b/include/sys/dsl_pool.h
index 01870e867..56317cf73 100644
--- a/include/sys/dsl_pool.h
+++ b/include/sys/dsl_pool.h
@@ -57,7 +57,7 @@ struct dsl_crypto_params;
extern unsigned long zfs_dirty_data_max;
extern unsigned long zfs_dirty_data_max_max;
-extern unsigned long zfs_dirty_data_sync;
+extern int zfs_dirty_data_sync_percent;
extern int zfs_dirty_data_max_percent;
extern int zfs_dirty_data_max_max_percent;
extern int zfs_delay_min_dirty_percent;