mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
Clean up CSTYLEDs
69 CSTYLED BEGINs remain, appx. 30 of which can be removed if cstyle(1) had a useful policy regarding CALL(ARG1, ARG2, ARG3); above 2 lines. As it stands, it spits out *both* sysctl_os.c: 385: continuation line should be indented by 4 spaces sysctl_os.c: 385: indent by spaces instead of tabs which is very cool Another >10 could be fixed by removing "ulong" &al. handling. I don't foresee anyone actually using it intentionally (does it even exist in modern headers? why did it in the first place?). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12993
This commit is contained in:
@@ -1284,39 +1284,39 @@ spa_ld_log_spacemaps(spa_t *spa)
|
||||
|
||||
/* BEGIN CSTYLED */
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, unflushed_max_mem_amt, ULONG, ZMOD_RW,
|
||||
"Specific hard-limit in memory that ZFS allows to be used for "
|
||||
"unflushed changes");
|
||||
"Specific hard-limit in memory that ZFS allows to be used for "
|
||||
"unflushed changes");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, unflushed_max_mem_ppm, ULONG, ZMOD_RW,
|
||||
"Percentage of the overall system memory that ZFS allows to be "
|
||||
"used for unflushed changes (value is calculated over 1000000 for "
|
||||
"finer granularity)");
|
||||
"Percentage of the overall system memory that ZFS allows to be "
|
||||
"used for unflushed changes (value is calculated over 1000000 for "
|
||||
"finer granularity)");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, unflushed_log_block_max, ULONG, ZMOD_RW,
|
||||
"Hard limit (upper-bound) in the size of the space map log "
|
||||
"in terms of blocks.");
|
||||
"Hard limit (upper-bound) in the size of the space map log "
|
||||
"in terms of blocks.");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, unflushed_log_block_min, ULONG, ZMOD_RW,
|
||||
"Lower-bound limit for the maximum amount of blocks allowed in "
|
||||
"log spacemap (see zfs_unflushed_log_block_max)");
|
||||
"Lower-bound limit for the maximum amount of blocks allowed in "
|
||||
"log spacemap (see zfs_unflushed_log_block_max)");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, unflushed_log_block_pct, ULONG, ZMOD_RW,
|
||||
"Tunable used to determine the number of blocks that can be used for "
|
||||
"the spacemap log, expressed as a percentage of the total number of "
|
||||
"metaslabs in the pool (e.g. 400 means the number of log blocks is "
|
||||
"capped at 4 times the number of metaslabs)");
|
||||
"Tunable used to determine the number of blocks that can be used for "
|
||||
"the spacemap log, expressed as a percentage of the total number of "
|
||||
"metaslabs in the pool (e.g. 400 means the number of log blocks is "
|
||||
"capped at 4 times the number of metaslabs)");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, max_log_walking, ULONG, ZMOD_RW,
|
||||
"The number of past TXGs that the flushing algorithm of the log "
|
||||
"spacemap feature uses to estimate incoming log blocks");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, max_logsm_summary_length, ULONG, ZMOD_RW,
|
||||
"Maximum number of rows allowed in the summary of the spacemap log");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, min_metaslabs_to_flush, ULONG, ZMOD_RW,
|
||||
"Minimum number of metaslabs to flush per dirty TXG");
|
||||
"The number of past TXGs that the flushing algorithm of the log "
|
||||
"spacemap feature uses to estimate incoming log blocks");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, keep_log_spacemaps_at_export, INT, ZMOD_RW,
|
||||
"Prevent the log spacemaps from being flushed and destroyed "
|
||||
"during pool export/destroy");
|
||||
"Prevent the log spacemaps from being flushed and destroyed "
|
||||
"during pool export/destroy");
|
||||
/* END CSTYLED */
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, max_logsm_summary_length, ULONG, ZMOD_RW,
|
||||
"Maximum number of rows allowed in the summary of the spacemap log");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, min_metaslabs_to_flush, ULONG, ZMOD_RW,
|
||||
"Minimum number of metaslabs to flush per dirty TXG");
|
||||
|
||||
Reference in New Issue
Block a user