diff options
author | LOLi <[email protected]> | 2018-01-30 00:05:03 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-01-29 15:05:03 -0800 |
commit | 63f88c12b41a9a51f5693efce408960664fdbe16 (patch) | |
tree | 721467099bd3caa631f8915dee84a7f226af2377 /module/zfs | |
parent | 5e021f56d3437d3523904652fe3cc23ea1f4cb70 (diff) |
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 <[email protected]>
Reviewed by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #7087
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/dsl_scan.c | 7 |
1 files changed, 6 insertions, 1 deletions
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"); |