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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Jul 2026 17:32:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296466

--- Comment #8 from martin@lispworks.com ---
(In reply to Rick Macklem from comment #7)

Yes, that makes it fast.

I'm not sure how frequent holes are, but maybe adding a "hole was created since
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=off makes it fast?

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