aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_misc.c
diff options
context:
space:
mode:
authorDeHackEd <[email protected]>2019-05-07 18:34:42 -0400
committerBrian Behlendorf <[email protected]>2019-05-07 15:34:42 -0700
commit1f02ecc5a56d08b744b618c641505c451bd9b1e4 (patch)
treeef95100108a31467f6695cc5deb62a2f4574da5a /module/zfs/spa_misc.c
parentcaf9dd209fdcfccabc2f32b3f23c5386ccfb896c (diff)
Make zfs_special_class_metadata_reserve_pct into a parameter
Exported and documented a new module parameter. Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: DHE <[email protected]> Closes #8706
Diffstat (limited to 'module/zfs/spa_misc.c')
-rw-r--r--module/zfs/spa_misc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c
index b3a4a7b12..f4497ca1c 100644
--- a/module/zfs/spa_misc.c
+++ b/module/zfs/spa_misc.c
@@ -2689,5 +2689,10 @@ MODULE_PARM_DESC(zfs_ddt_data_is_special,
module_param(zfs_user_indirect_is_special, int, 0644);
MODULE_PARM_DESC(zfs_user_indirect_is_special,
"Place user data indirect blocks into the special class");
+
+module_param(zfs_special_class_metadata_reserve_pct, int, 0644);
+MODULE_PARM_DESC(zfs_special_class_metadata_reserve_pct,
+ "Small file blocks in special vdevs depends on this much "
+ "free space available");
/* END CSTYLED */
#endif