Closed weihanglo closed 4 months ago
You can use libc::syscall(SYS_preadv2, ...)
to invoke the function without direct glibc support. If the kernel doesn't support it you'll get ENOSYS as usual.
Thanks! That sounds also correct, though I personally don't have time investing in it (also have less experience of that). Need somebody else to work on that route.
If it's not a one or two line change then I agree that we should revert for now to fix builds. I would be interested in the syscall change however because that seems simple but I'm not familiar with the code base.
When might this be released?
I've asked @petrochenkov to do so on zulip, only they have the right to publish a new release
This optimization has introduced many compatibility issues, so remove it for now until we find it worthy the investment.
See also