mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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 <dinatale2@llnl.gov> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tom Caputi <tcaputi@datto.com> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #7087
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user