]> git.proxmox.com Git - mirror_zfs.git/commit
BRT: Make BRT block sizes configurable
authorAlexander Motin <mav@FreeBSD.org>
Mon, 25 Mar 2024 22:02:38 +0000 (18:02 -0400)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2024 22:02:38 +0000 (15:02 -0700)
commitf68bde7236699353b89de176fd35f7fa92bfc30b
tree8ee868a3fd67598f6ec800879cb1c6204b0f3f76
parent493fcce9be165bd751434879d2478938cd5bb926
BRT: Make BRT block sizes configurable

Similar to DDT make BRT data and indirect block sizes configurable
via module parameters.  I am not sure what would be the best yet,
but similar to DDT 4KB blocks kill all chances of compression on
vdev with ashift=12 or more, that on my tests reaches 3x.

While here, fix documentation for respective DDT parameters.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15967
man/man4/zfs.4
module/zfs/brt.c