[Bug 288014] net/samba420: errors when copying sparse files to samba share
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 288014] errors when copying sparse files to samba share"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Jul 2025 06:14:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288014 --- Comment #15 from Andrej Ebert <andrej@ebert.su> --- (In reply to hunt from comment #9) Please try the attached patch disabling posix_fallocate. And it definitely is an upstream issue, just FreeBSD-specific. Samba should fallback to just writing blocks if something doesn't work with posix_fallocate, but doesn't do that. Aside from this, preallocating space for sparse files just doesn't make sense on ZFS(this is what fallocate does), and apparently is horribly slow on UFS. -- You are receiving this mail because: You are the assignee for the bug.