mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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
This commit is contained in:
+15
-2
@@ -244,12 +244,25 @@ For blocks that could be forced to be a gang block (due to
|
||||
.Sy metaslab_force_ganging ) ,
|
||||
force this many of them to be gang blocks.
|
||||
.
|
||||
.It Sy zfs_ddt_zap_default_bs Ns = Ns Sy 15 Po 32 KiB Pc Pq int
|
||||
.It Sy brt_zap_prefetch Ns = Ns Sy 1 Ns | Ns 0 Pq int
|
||||
Controls prefetching BRT records for blocks which are going to be cloned.
|
||||
.
|
||||
.It Sy brt_zap_default_bs Ns = Ns Sy 12 Po 4 KiB Pc Pq int
|
||||
Default BRT ZAP data block size as a power of 2. Note that changing this after
|
||||
creating a BRT on the pool will not affect existing BRTs, only newly created
|
||||
ones.
|
||||
.
|
||||
.It Sy brt_zap_default_ibs Ns = Ns Sy 12 Po 4 KiB Pc Pq int
|
||||
Default BRT ZAP indirect block size as a power of 2. Note that changing this
|
||||
after creating a BRT on the pool will not affect existing BRTs, only newly
|
||||
created ones.
|
||||
.
|
||||
.It Sy ddt_zap_default_bs Ns = Ns Sy 15 Po 32 KiB Pc Pq int
|
||||
Default DDT ZAP data block size as a power of 2. Note that changing this after
|
||||
creating a DDT on the pool will not affect existing DDTs, only newly created
|
||||
ones.
|
||||
.
|
||||
.It Sy zfs_ddt_zap_default_ibs Ns = Ns Sy 15 Po 32 KiB Pc Pq int
|
||||
.It Sy ddt_zap_default_ibs Ns = Ns Sy 15 Po 32 KiB Pc Pq int
|
||||
Default DDT ZAP indirect block size as a power of 2. Note that changing this
|
||||
after creating a DDT on the pool will not affect existing DDTs, only newly
|
||||
created ones.
|
||||
|
||||
Reference in New Issue
Block a user