Repository navigation
lib/model: Don't close file early (fixes #6875) - #6876
Conversation
|
Now I'm confused how there were positive user results on this. |
|
So with this the fallback to |
|
I'm surprised because sendfile should work. If you run the tests for copy range stuff in fs package, does it also not work? |
|
Seems to fail for me as well. Looking. |
|
The tests say |
|
On freebsd the ioctl and sendfile tests fail: On Mac they don't run, which I guess maybe should be the case for FreeBSD as well? |
|
Maybe I should deploy a FreeBSD builder. |
|
So it seems it's the mtimefs that's getting in the way. I also noticed golang/go#24331 Not sure we'd have any use for any of these cool poller features tho. |
* main: (368 commits) build: We now target Go 1.14 lib/fs: Disable ioctl on ppc (fixes syncthing#6898) (syncthing#6901) gui, man, authors: Update docs, translations, and contributors lib/dialer: Try dialing without reuse in parallel (fixes syncthing#6892) (syncthing#6893) cmd/stcrashreceiver: Don't crash on nil err all: Remove need to restart syncthing (syncthing#6883) lib/db: Don't put truncated files (ref syncthing#6855, ref syncthing#6501) (syncthing#6888) lib/osutil: Check returned error instead of info (ref syncthing#6885) (syncthing#6887) gui, man, authors: Update docs, translations, and contributors lib/osutil: Preserve perms in AtomicWriter (fixes #tbd) (syncthing#6885) lib/fs: Fix WatchRename test for FreeBSD (fixes syncthing#6613) lib/fs: Unwrap mtimeFile, get fd the "correct" way (ref syncthing#6875) (syncthing#6877) lib/model: Don't close file early (fixes syncthing#6875) (syncthing#6876) lib/fs: Unwrap mtimeFile, get fd the "correct" way (ref syncthing#6875) (syncthing#6877) gui, man, authors: Update docs, translations, and contributors lib/fs: Fix WatchRename test for FreeBSD (fixes syncthing#6613) lib/model: Don't close file early (fixes syncthing#6875) (syncthing#6876) lib/db: Log context on panic (syncthing#6872) gui: Don't show pull order on SO folders (ref syncthing#6807) (syncthing#6871) lib/model: Check folder error before sync-waiting (fixes syncthing#6793) (syncthing#6847) ...
I guess this might explain why this doesn't actually work.