[Bug 296466] copy_file_range can be very slow on zfs even for small files

[email protected] Fri, 10 Jul 2026 23:51:26 +0000
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296466

--- Comment #9 from Rick Macklem <[email protected]> ---
(In reply to martin from comment #8)
I'm not sure how frequent holes are, but maybe adding a "hole was created s=
ince
the last sync" flag would allow it to decide whether to force a sync before
looking for holes?

Is there an explanation why setting compression=3Doff makes it fast?

You've mistaken me for someone that knows how ZFS works.;-)

You might try asking on OpenZFS? (I am aware that they know there
are issues with performance for SEEK_DATA/SEEK_HOLE and related
things.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=