HomeFreeBSD

Add tunable to allow changing micro ZAP's max size

Description

Add tunable to allow changing micro ZAP's max size

This change turns MZAP_MAX_BLKSZ into a ZFS_MODULE_PARAM() called
zap_micro_max_size. As a result, we can experiment with different
micro ZAP sizes to improve directory size scaling.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Mateusz Piotrowski <mateuszpiotrowski@klarasystems.com>
Co-authored-by: Toomas Soome <toomas.soome@klarasystems.com>
Signed-off-by: Mateusz Piotrowski <mateuszpiotrowski@klarasystems.com>
Sponsored-by: Wasabi Technology, Inc.
Closes #14292

Details

Provenance
0mpAuthored on Jan 10 2023, 9:41 PM
GitHub <noreply@github.com>Committed on Jan 10 2023, 9:41 PM
Parents
rG1f19826c9ac8: etc/systemd/zfs-mount-generator: avoid strndupa
Branches
Unknown
Tags
Unknown