-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable SEEK_HOLE in coreutils 9.0 #143208
Comments
Followup on the peertube issue I and others investigated further: If you build the esbuild_locked derivation in peertube on top of the buggy staging-next you should be able to reproducibly get a segfaulting esbuild. If you now do an arbitrary derivation-hash changing change on the esbuild_locked derivation you should (with likely high probability) get a working esbuild. It's interesting that changing the derivation also usually hides the problem and currently not really known why that happens (reproducibly even) |
My guess is that coreutils is falling victim to a kernel or file system bug of some sort. (Of course I could be wrong.) See my recent comments in coreutils bug#51433. |
@eggert One thing that I just remembered tonight is the Nix substitution mechanism which may be causing some of the non-ZFS issues. When building something locally (no matter the filesystem), Nix tries to query the builds results from the cache.nixos.org (where the builders are at least partially ZFS-backed iirc). The problem is that it's really hard to tell what happened here since paths that are substituted and paths that are built locally cannot really be told from each other and disabling substitution entirely means huge local rebuilds. |
Cross-Ref #143097 (comment) TLDR: The peertube issue's root cause is extremely likely zfs on the binary cache as dasJ explained. |
Looks like we can drop the patch for the next coreutils release, the coreutils maintainers deem this as fixed: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51433#58 |
Going to close this, as it's enabled now |
Issue description
#143097 will disable SEEK_HOLE in coreutils to fix regressions on ZFS (and potentially other filesystems?).
This issue is to track progress on us re-enabling the feature since it gives us a potential performance boost.
This issue is also to move the discussion around this problem from #141684 since it will probably outlive the staging-next cycle.
Useful links (maintainers feel free to edit and add):
The text was updated successfully, but these errors were encountered: