]> git.proxmox.com Git - mirror_zfs.git/commit
BRT: Fix slop space calculation with block cloning
authorBi11 <Bi11gates9999@gmail.com>
Mon, 12 Feb 2024 21:53:33 +0000 (05:53 +0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2024 21:53:33 +0000 (13:53 -0800)
commit6cc93ccde70dfe4c732600fd7787ca95a36f48f5
tree066d826061f51900c0d22ea0b0ccadc0edd88ca0
parent79c6dffa6bd27209727a32a37bc281244426e0b5
BRT: Fix slop space calculation with block cloning

Similar to deduplication, the size of data duplicated by block cloning
should not be included in the slop space calculation.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Yuxin Wang <yuxinwang9999@gmail.com>
Closes #15874
module/zfs/spa_misc.c