[Bug 296466] copy_file_range can be very slow on zfs even for small files
[email protected] Fri, 10 Jul 2026 15:18:49 +0000
| Newsgroups | gmane.os.freebsd.devel.file-systems |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296466 Rick Macklem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Rick Macklem <[email protected]> --- (In reply to martin from comment #6) Try setting vfs.zfs.dmu_offset_next_sync=0 This makes SEEK_DATA/SEEK_HOLE run much faster, but can miss a hole on recently written data. (For copy_file_range(), that means it might not maintain the hole and write bytes of zeros to the copied file.) -- You are receiving this mail because: You are the assignee for the bug.