From 63f88c12b41a9a51f5693efce408960664fdbe16 Mon Sep 17 00:00:00 2001 From: LOLi Date: Tue, 30 Jan 2018 00:05:03 +0100 Subject: Fix style issues in man pages and commands help * Remove 'zfs snap' from zfs help message (OpenZFS sync) * Update zfs(8) to suggest 'snap' can be used as an alias for 'snapshot' * Enforce 80 columns limit in help messages * Remove zfs_disable_dup_eviction from zfs-module-parameters(5) * Expose zfs_scan_max_ext_gap as a kernel module parameter. Reviewed-by: Giuseppe Di Natale Reviewed by: George Melikov Reviewed-by: Brian Behlendorf Reviewed-by: Tom Caputi Signed-off-by: loli10K Closes #7087 --- module/zfs/dsl_scan.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'module/zfs/dsl_scan.c') diff --git a/module/zfs/dsl_scan.c b/module/zfs/dsl_scan.c index 2231ef1c0..4b4f1665c 100644 --- a/module/zfs/dsl_scan.c +++ b/module/zfs/dsl_scan.c @@ -147,7 +147,7 @@ unsigned long zfs_scan_vdev_limit = 4 << 20; int zfs_scan_issue_strategy = 0; int zfs_scan_legacy = B_FALSE; /* don't queue & sort zios, go direct */ -uint64_t zfs_scan_max_ext_gap = 2 << 20; /* in bytes */ +unsigned long zfs_scan_max_ext_gap = 2 << 20; /* in bytes */ /* * fill_weight is non-tunable at runtime, so we copy it at module init from @@ -3886,6 +3886,11 @@ module_param(zfs_scan_checkpoint_intval, int, 0644); MODULE_PARM_DESC(zfs_scan_checkpoint_intval, "Scan progress on-disk checkpointing interval"); +/* CSTYLED */ +module_param(zfs_scan_max_ext_gap, ulong, 0644); +MODULE_PARM_DESC(zfs_scan_max_ext_gap, + "Max gap in bytes between sequential scrub / resilver I/Os"); + module_param(zfs_scan_mem_lim_soft_fact, int, 0644); MODULE_PARM_DESC(zfs_scan_mem_lim_soft_fact, "Fraction of hard limit used as soft limit"); -- cgit v1.2.3