HomeFreeBSD

Default to zfs_bclone_wait_dirty=1

Description

Default to zfs_bclone_wait_dirty=1

Update the default FICLONE and FICLONERANGE ioctl behavior to wait
on dirty blocks. While this does remove some control from the
application, in practice ZFS is better positioned to the optimial
thing and immediately force a TXG sync.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #17455

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 25 2025, 2:42 PM
GitHub <noreply@github.com>Committed on Jul 25 2025, 2:42 PM
Parents
rG4bd7a2eaa587: zdb: fix checksum calculation for decompressed blocks
Branches
Unknown
Tags
Unknown