mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +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:
@@ -1883,23 +1883,28 @@ EXPORT_SYMBOL(vdev_obsolete_counts_are_precise);
|
||||
EXPORT_SYMBOL(vdev_obsolete_sm_object);
|
||||
|
||||
/* BEGIN CSTYLED */
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, indirect_vdevs_enable, INT, ZMOD_RW,
|
||||
"Whether to attempt condensing indirect vdev mappings");
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, indirect_vdevs_enable, INT,
|
||||
ZMOD_RW, "Whether to attempt condensing indirect vdev mappings");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, indirect_obsolete_pct, INT, ZMOD_RW,
|
||||
"Minimum obsolete percent of bytes in the mapping to attempt condensing");
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, indirect_obsolete_pct, INT,
|
||||
ZMOD_RW,
|
||||
"Minimum obsolete percent of bytes in the mapping "
|
||||
"to attempt condensing");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, min_mapping_bytes, ULONG, ZMOD_RW,
|
||||
"Don't bother condensing if the mapping uses less than this amount of "
|
||||
"memory");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, max_obsolete_bytes, ULONG, ZMOD_RW,
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, max_obsolete_bytes, ULONG,
|
||||
ZMOD_RW,
|
||||
"Minimum size obsolete spacemap to attempt condensing");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, indirect_commit_entry_delay_ms, INT, ZMOD_RW,
|
||||
ZFS_MODULE_PARAM(zfs_condense, zfs_condense_, indirect_commit_entry_delay_ms,
|
||||
INT, ZMOD_RW,
|
||||
"Used by tests to ensure certain actions happen in the middle of a "
|
||||
"condense. A maximum value of 1 should be sufficient.");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_reconstruct, zfs_reconstruct_, indirect_combinations_max, INT, ZMOD_RW,
|
||||
ZFS_MODULE_PARAM(zfs_reconstruct, zfs_reconstruct_, indirect_combinations_max,
|
||||
INT, ZMOD_RW,
|
||||
"Maximum number of combinations when reconstructing split segments");
|
||||
/* END CSTYLED */
|
||||
|
||||
Reference in New Issue
Block a user